[R] need help with building R on Solaris without using shared FORTRAN libraries

Terry Westley twestley at buffalo.veridian.com
Mon Oct 25 20:01:33 CEST 1999


I need to build R (we're currently at R version 0.64.0) for
Solaris 2.5.1 on SunSPARC without using the libF77.so and
libsunmath.so shared libraries. I'd like to use statically
linked libraries instead.

Nothing I have tried has worked as measured by executing
the command "ldd R.binary" to see whether it references
the shared libraries or not.

This is what I've tried:

1) Modified config.site to uncomment the FPICFLAGS line
   and set the flag to the following variations:

   FPICFLAGS=
   FPICFLAGS=""
   FPICFLAGS=" "

2) Set FPICFLAGS as an environment variable before running configure.

3) Modified all Makefiles (after configure) to remove references to -PIC.
   This builds OK but still shows that R.binary is referencing those
   shared libraries.

4) Modified R.binary link command in src/main/Makefile to link with
   libF77.a and libsunmath.a.  R.binary still wants to use those
   shared libraries.  Could this be built into f77?

Help !!!

--
Terry J. Westley, Software Systems Engineering Supervisor
Veridian Engineering, Calspan Operations
P.O. Box 400, Buffalo, NY 14225
twestley at buffalo.veridian.com    http://www.veridian.com

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