[R] Compilation error on mgcv_1.1-7 on OS X (10.3)
Jon Egil Strand
jes at luretanker.no
Mon Nov 1 17:38:28 CET 2004
Greetings
I run into a compilation error when updating to mgcv_1.1-7 in R 2.0.0 on
OS X 10.3. Note that other pacakges have compiled nicely.
Some details are given below, but in short it looks like it's seeking for
/usr/local/lib/powerpc-apple-darwin6.8/3.4.2/
which I don't have. But I do have
/usr/lib/gcc/darwin/3.3
i.e a lower version of GCC in a different directory. More details at end.
I am sorry if this is very easy to configure, but as long as I am unable
to do it I will be very grateful for any help.
All the best
Jon Egil Strand
M.Sc
-----------------------------------
Compilation details
-----------------------------------
gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -fno-common -g -O2 -c qp.c -o qp.o
gcc -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/local/include -fno-common -g -O2 -c tprs.c -o tprs.o
gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
mgcv.so gcv.o magic.o mat.o matrix.o mgcv.o qp.o tprs.o -framework
vecLib -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2
-L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2/../../.. -lfrtbegin
-lg2c -lSystem -lcc_dynamic -framework R
ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2) does not exist
ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2/../../..) does not exist
ld: can't locate file for: -lfrtbegin
make: *** [mgcv.so] Error 1
ERROR: compilation failed for package 'mgcv'
--
Jon Egil Strand
jes at luretanker.no
Phone: +47 45030081
More information about the R-help
mailing list