[R] compiling 1.5.0 under Solaris 2.7 with Sun C and FORTRAN and gcc C++

Steve Shiboski steve at biostat.ucsf.edu
Tue Jun 11 22:36:56 CEST 2002

For disk space reasons, I have the Sun FORTRAN and C comiplers
available, but not C++. In the past, I have successfully built
R using these compliers along with the C++ provided by gcc.
Now, the configure script in 1.5.0 fails with the following

  checking how to get verbose linking output from f77... -v
  checking for Fortran 77 libraries...  -L/usr/local/lib -R/opt/SUNWspro/lib -L/opt/SUNWspro/lib -L/opt/SUNWspro/WS6U1/lib -L/usr/ccs/lib -L/usr/lib -lreadline -ldl -ltermcap -lm -lF77 -lM77 -lsunmath -lcx
  checking for dummy main to link with Fortran 77 libraries... unknown
  configure: error: linking to Fortran libraries from C fails

Any suggestions on a possible remedy would be greatly appreciated. I'd rather
not install Sun C++ if possible, and I like the optimization features
of Sun C and FORTRAN for the UltraSPARC hardware.

Stephen Shiboski  -------------------  steve at biostat.ucsf.edu
Division of Biostatistics                 voice: 415-476-0533
University of California, San Francisco     fax: 415-476-6014
500 Parnassus Avenue, MU 420-W;  San Francisco, CA 94143-0560
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list