Hi, 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. Thanks Kosuke * 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: 4.0.0) make: *** [ranksort.o] Trace/BPT trap ERROR: compilation failed for package 'Hmisc'
Kosuke, I tried to reproduce your error, running OS X 10.3.3, R 1.8.1. and gcc 3.3 20030304. Hmisc installed without any problem. Sorry that I couldn't help more. Andrew On Monday 29 March 2004 20:21, Kosuke Imai wrote:> Hi, > 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. > Thanks > Kosuke > > * 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: > 4.0.0) > make: *** [ranksort.o] Trace/BPT trap > ERROR: compilation failed for package 'Hmisc' > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html-- Andrew Robinson Ph: 208 885 7115 Department of Forest Resources Fa: 208 885 6226 University of Idaho E : andrewr at uidaho.edu PO Box 441133 W : http://www.uidaho.edu/~andrewr Moscow ID 83843 Or: http://www.biometrics.uidaho.edu No statement above necessarily represents my employer's opinion.
Hi Kosuke, The building R from sources FAQ (version from jan 31,2004, can't seem to find it on the web anymore), says that installing "libwmf+iconv" as part of the teTex system causes trouble between gcc and R. You may try removing it and install again. I succesfully installed from source files from Raqua, which saves the trouble of going to the terminal and finding the right directory etc. Bye, ingmar> From: Kosuke Imai <kimai at Princeton.Edu> > Date: Mon, 29 Mar 2004 23:21:58 -0500 (EST) > To: r-help at stat.math.ethz.ch > Subject: [R] RAqua and gcc > > Hi, > 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. > Thanks > Kosuke > > * 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: > 4.0.0) > make: *** [ranksort.o] Trace/BPT trap > ERROR: compilation failed for package 'Hmisc' > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >