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

From: Prof Brian Ripley <>
Date: Wed 13 Oct 2004 - 16:35:26 EST

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

> Full_Name: Robin Cook
> Version: 2.0.0
> OS: Linux (
> Submission from: (NULL) (
> 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,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Wed Oct 13 16:42:35 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:33 EST