[R] compiling pnmath on an intel processor running mac OS 10.5
Mike Lawrence
Mike.Lawrence at dal.ca
Thu Jul 10 20:27:02 CEST 2008
Has anyone successfully compiled pnmath (http://www.stat.uiowa.edu/~luke/R/experimental
) for an intel processor running mac OS 10.5? When I attempt to do so
via the R package installer (choosing "Local Source Package" and
pointing to the pnmath_0.0-2.tar.gz file), I get the following errors:
* Installing *source* package 'pnmath' ...
** libs
** arch - i386
gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-
version-min=10.4 -std=gnu99 -I/Library/Frameworks/R.framework/
Resources/include -I/Library/Frameworks/R.framework/Resources/include/
i386 -msse3 -fopenmp -fPIC -g -O2 -march=nocona -c bd0.c -o bd0.o
cc1: error: unrecognized command line option "-fopenmp"
make: *** [bd0.o] Error 1
** arch - ppc
chmod: /Library/Frameworks/R.framework/Resources/library/pnmath/libs/
i386/*: No such file or directory
gcc -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-
version-min=10.4 -std=gnu99 -I/Library/Frameworks/R.framework/
Resources/include -I/Library/Frameworks/R.framework/Resources/include/
ppc -I/usr/local/include -fopenmp -fPIC -g -O2 -c bd0.c -o bd0.o
cc1: error: unrecognized command line option "-fopenmp"
make: *** [bd0.o] Error 1
chmod: /Library/Frameworks/R.framework/Resources/library/pnmath/libs/
ppc/*: No such file or directory
ERROR: compilation failed for package 'pnmath'
** Removing '/Library/Frameworks/R.framework/Resources/library/pnmath'
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
www.memetic.ca
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
More information about the R-help
mailing list