[Rd] error when running configure (PR#7283)

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Oct 13 08:35:26 CEST 2004


Why have you submitted this as a bug in R?  Have you read the R FAQ on 
BUGS?  Giving a clear error message about your system is not a bug.

R has been configured *many* times on systems with gcc 3.4.2 and glibc 
2.3.x (mainly i686 systems, which you did not mention).  Something is 
unusual, possibly broken, about your system but we have insufficient 
information to know what.

There is a clear error message, to see the file INSTALL, and that tells
you to read R-admin.html for more information.  You need to set FPICFLAGS,
and the setting is -fPIC for g77 on i686-pc-linux-gnu (as man g77 would 
have told you).  The reference tells you how and where to set it.

On Wed, 13 Oct 2004 rcook at wyrms.net wrote:

> Full_Name: Robin Cook
> Version: 2.0.0
> OS: Linux (2.6.8.1)
> Submission from: (NULL) (66.140.245.97)
> 
> 
> Compling with gcc 3.4.2 and glibc 2.3.3 with nptl enabled and getting the below
> error  when running ./configure
> 
> checking for Fortran libraries of g77...  -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.2
> -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/lib
> -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s
> checking for dummy main to link with Fortran libraries... none
> checking for Fortran name-mangling scheme... lower case, underscore, extra
> underscore
> checking whether g77 appends underscores to external names... yes
> checking whether mixed C/Fortran code can be run... yes
> checking whether g77 and gcc agree on int and double... yes
> checking whether g77 and gcc agree on double complex... yes
> checking whether g77 supports -c -o FILE.lo... yes
> checking whether g++ accepts -M for generating dependencies... yes
> checking whether g++ supports -c -o FILE.lo... yes
> checking whether gcc accepts -mieee-fp... yes
> checking whether g77 accepts -mieee-fp... yes
> checking whether g++ accepts -mieee-fp... yes
> checking for xmkmf... /usr/bin/X11/xmkmf
> configure: WARNING: I could not determine FPICFLAGS.
> configure: error: See the file INSTALL for more information.

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