[R] Error when running configure on xeon with r-1-9-patched

Gavin Simpson gavin.simpson at ucl.ac.uk
Mon Sep 6 20:18:49 CEST 2004


Dear list,

I'm having a problem configuring R-1-9-patched on a Intel Xeon machine 
running Fedora Core 2. I used svn to checkout the source, altered 
config.site to add some optimisation flags to match the Fedora rpm on 
CRAN (the flags work fine on two other P3 or P4 machines I've compiled R 
on).

./configure fails with:

<snip>
checking for long double... yes
checking size of long double... 12
checking whether we can compute C Make dependencies... yes, using gcc -MM
checking whether gcc supports -c -o FILE.lo... yes
checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77...  -L/usr/local/lib 
-L/usr/lib/gcc-lib/i386-redhat-linux/3.3.3 
-L/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../.. -lfrtbegin -lg2c -lm 
-lgcc_s -lieee
checking for dummy main to link with Fortran libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.

I think this is the relevant part of the log, but I heavn't copied the 
lengthy section on the variables etc that come at the end of the 
config.log file:

| #define SIZEOF_INT 4
| #define INT_32_BITS 1
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_LONG_DOUBLE 12
| /* end confdefs.h.  */
| #define F77_DUMMY_MAIN _main
| #ifdef F77_DUMMY_MAIN
|
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
|
| #endif
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:25321: result: unknown
configure:25341: error: linking to Fortran libraries from C fails
See `config.log' for more details.

I guess I missed some software package or something - although I checked 
that I had all the dependancies list for the Fedora 2 rpm. As I don't 
really understand the specifics of what has gone wrong here could 
someone enlighten me as to my mistake?

Many thanks in advance,

Gavin

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson                     [T] +44 (0)20 7679 5522
ENSIS Research Fellow             [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC                 [E] gavin.simpson at ucl.ac.uk
UCL Department of Geography       [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way                    [W] http://www.ucl.ac.uk/~ucfagls/
London.  WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-help mailing list