[R] RAqua and gcc

Thomas Lumley tlumley at u.washington.edu
Tue Mar 30 17:01:17 CEST 2004


On Tue, 30 Mar 2004, Ingmar Visser wrote:

> 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.

And this is exactly the error it causes.  If you don't have teTeX it may
be that something else has installed an incompatible version of libiconv.

	-thomas


> 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
> >
>
> ______________________________________________
> 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
>

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list