[R] RAqua and gcc

Kosuke Imai kimai at Princeton.Edu
Tue Mar 30 06:21:58 CEST 2004

  I've recently purchased PowerBookG4 (panther) and installed RAqua 1.8.1.  
I also installed gcc version 3.3 through Xcode tools. But, for some
reason, I'm having a hard time getting gcc work with R. For example, I get
the following error while installing Hmisc package. I would appreciate any 
suggestion to fix this problem. 

 * 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 -no-cpp-precomp -I/Applications/StartR.app/RAqua.app/Contents/include  
-I/usr/local/include   -fno-common  -g -O2 -c ranksort.c -o ranksort.o
dyld: gcc version mismatch for library: /usr/local/lib/libiconv.2.dylib 
(compatibility version of user: 5.0.0 greater than library's version: 
make: *** [ranksort.o] Trace/BPT trap
ERROR: compilation failed for package 'Hmisc'

More information about the R-help mailing list