Re: [R] Fwd: Re: Problem installing R packages

From: J-C. Marioni <jcm68_at_cam.ac.uk>
Date: Fri 15 Jul 2005 - 01:45:37 EST

We used the Fortran compiler that came from the customised option when installing from the mac dmg

g77 --version

GNU Fortran (GCC) 3.4.2

We will look into the links you provided.

Thanks,

John

On Jul 14 2005, Prof Brian Ripley wrote:

> What Fortran compiler (g77) are you using, obtained from where? See
>
> http://www.astro.gla.ac.uk/users/norman/note/2004/restFP/
>
> Your lines are wrapped in ways that make parsing impossible, but my guess
> at the link line does not include -lcc_dynamic.
>
> See also the list archives, e.g.
>
> http://tolstoy.newcastle.edu.au/R/help/05/06/7345.html
>
> and of course the r-sig-mac list for the mysteries of MacOS X. People
> seem to be moving to gcc4/gfortran on that platform.
>
>
> On Thu, 14 Jul 2005, J-C. Marioni wrote:
>
> > Hi,
> >
> > I am trying to install the R libraries "rmutil" and "repeated" on a
> > Mac OS X version 10.4.1 (which has the latest version of the Mac
> > Developer tools installed) and I am having trouble compiling the
> > libraries.
> >
> > The error message I receive is as follows (I have only included the
> > error message when I try and install the rmutil library):
> >
> > ............................
> >
> >
> > * Installing *source* package 'rmutil' ... ** libs gcc-3.3
> > -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include
> > -I/usr/local/include -fno-common -g -O2 -c cutil.c -o cutil.o gcc-3.3
> > -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include
> > -I/usr/local/include -fno-common -g -O2 -c dist.c -o dist.o g77
> > -fno-common -g -O2 -c gettvc.f -o gettvc.o gcc-3.3 -no-cpp-precomp
> > -I/Library/Frameworks/R.framework/Resources/include
> > -I/usr/local/include -fno-common -g -O2 -c romberg.c -o romberg.o
> > gcc-3.3 -no-cpp-precomp
> > -I/Library/Frameworks/R.framework/Resources/include
> > -I/usr/local/include -fno-common -g -O2 -c toms614.c -o toms614.o
> > gcc-3.3 -bundle -flat_namespace -undefined suppress -o rmutil.so
> > cutil.o dist.o gettvc.o romberg.o toms614.o
> > -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 -lg2c -lSystem
> > package successfully installed ld: dist.o has external
> > relocation entries in non-writable section (__TEXT,__text) for symbols:
> > restFP saveFP make: *** [rmutil.so] Error 1 ERROR: compilation failed
> > for package 'rmutil'
> >
> > ......................
> >
> > I contacted Jim Lindsey (the package author) who wasn't able to
> > suggest a solution. Hence, does anyone have an idea what could be
> > causing this error or does anyone have a Mac binary for these
> > libraries?
> >
> > Thanks,
> >
> > John Marioni
> >
> > --
> > John Marioni
> > PhD Student
> > Computational Biology Group
> > Department of Applied Mathematics and Theoretical Physics
> > University of Cambridge
> > Wilberforce Road, Cambridge, CB3 0WA
> >
> > Email: J.Marioni@damtp.cam.ac.uk
> > Phone: +44 (0)1223 763391
> >
> > ______________________________________________
> > R-help@stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting
> > guide! http://www.R-project.org/posting-guide.html
> >
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 15 01:51:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:40 EST