[Rd] compling errors for sun unix (PR#2702)

ripley at stats.ox.ac.uk ripley at stats.ox.ac.uk
Sat Mar 29 16:05:23 MET 2003


1) This is not a bug, and you did not even attach the file correctly.
The output on the console told you what the error (your error) was,
and it would have wasted less time to have sent that.

The place to ask for help is R-help: R-bugs is for BUGS as defined in the 
FAQ.  Inadequate compilation environments are not bugs in R, especially 
when they give such explicit error messages.

2) You seem to be using gcc 2.8.1, and do not have the compatible Fortran 
compiler.  Please seek a competent local advisor to help you with your 
Solaris education.  A less ancient version of gcc (like 2.95.3 or 3.2)
does work on Solaris 2.7 (2.6 being pretty ancient too).


> configure:9247: checking for C compiler version
> configure:9250: gcc --version </dev/null >&5
> 2.8.1

> configure:9983: checking for g77
> configure:9999: found /usr/local/bin/g77
> configure:10009: result: g77
> configure:10160: checking for Fortran 77 compiler version
> configure:10160: g77 --version </dev/null >&5
> GNU Fortran 0.5.24-19980804
> g77 version egcs-2.92.21 19981109 (gcc2 ss-980609 experimental) (from FSF-g77 version 0.5.24-19980804)

Note, that is not the version of g77 compatible with gcc 2.8.1, and it is
explicitly `experimental'!

> ld: Software Generation Utilities - Solaris-ELF (4.0)
> ld: fatal: library -lg2c: not found
> ld: fatal: library -lgcc: not found
> ld: fatal: library -lgcc: not found

That probably means you don't have /usr/local/lib in your LD_LIBRARY_PATH, 
or otherwise your compilers are not installed properly.

> configure:15069: error: linking to Fortran libraries from C fails
> See `config.log' for more details.

That's very explicit.

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