[Rd] Problems on SuSE 10.1 (was Cofnigure (Building) trouble)

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 16 15:45:09 CEST 2006

On Tue, 16 May 2006, Brandon Barker wrote:

> Hi, I'm trying to build R on SuSE 10.1/x86_64.  I had to download fortran as
> it wasn't supplied by SuSE.  Octave, which also uses both C and Fortran was
> able to compile w/o trouble.  The problem I run in to with R is the
> following.  R's configure script will complain that it can't find the
> fortran libraries (octave didn't give this complaint).  When I specify them
> using LDFLAGS, for some reason this causes the C test to fail (even though I
> can still use gcc w/o trouble):
> brandon at dell:~/R-2.3.0> export LDFLAGS=/usr/local/fortran/lib64

This should be -L/usr/local/fortran/lib64, and that error causes R's build 
command to be invalid.

Please note that this is covered in the R-admin manual which the INSTALL 
file asked you to read (instead of asking other people to read it for 

> brandon at dell:~/R-2.3.0> echo $LDFLAGS
> /usr/local/fortran/lib64
> brandon at dell:~/R-2.3.0> export F77=/usr/local/fortran/bin/gfortran
> ...
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> I've put up my config.log at http://sweb.uky.edu/~bebark2/config.log
> Thanks in advance for the advice.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list