[R] Hmisc compilation error

Charles Hebert charles.hebert.rml at gmail.com
Wed Nov 23 14:01:40 CET 2005


Dear all,

I'm trying to install the Hmisc package (3.0-7) on macOSX (10.4.3) and
R (2.2.0).
There's an error in the library linkage step (see log).

How can i solve this problem ?

Perhaps a solution would be to substitute gcc3 for gcc4 or remove the
invalid option... but i didn't find the "makefile" (where is it ?).

Thanks, C.

/------- Compilation log ---------/

* Installing *source* package 'Hmisc' ...
** libs
g77   -fno-common  -g -O2 -c cidxcn.f -o cidxcn.o
g77   -fno-common  -g -O2 -c cidxcp.f -o cidxcp.o
g77   -fno-common  -g -O2 -c hoeffd.f -o hoeffd.o
g77   -fno-common  -g -O2 -c jacklins.f -o jacklins.o
g77   -fno-common  -g -O2 -c largrec.f -o largrec.o
gcc-3.3 -no-cpp-precomp
-I/Library/Frameworks/R.framework/Resources/include 
-I/usr/local/include   -fno-common  -g -O2 -c ranksort.c -o ranksort.o
g77   -fno-common  -g -O2 -c rcorr.f -o rcorr.o
g77   -fno-common  -g -O2 -c wclosest.f -o wclosest.o
gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib
-o Hmisc.so cidxcn.o cidxcp.o hoeffd.o jacklins.o largrec.o ranksort.o
rcorr.o wclosest.o  -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2
-lg2c -lSystem -lcc_dynamic -F/Library/Frameworks/R.framework/..
-framework R
** Removing '/Library/Frameworks/R.framework/Versions/2.2/Resources/library/Hmisc'
ld: can't locate file for: -lcc_dynamic
make: *** [Hmisc.so] Error 1
ERROR: compilation failed for package 'Hmisc'




More information about the R-help mailing list