[R] Compile R-2.0.1 on SPARC Solaris 5.9

Campbell p.campbell at econ.bbk.ac.uk
Thu Jan 20 16:53:58 CET 2005


I'm using GCC 3.4.2 to build R-2.0.1 from sources downloaded from the
University of Bristol mirror. 

bash-2.05$./configure
<SNIP>
R is now configured for sparc-sun-solaris2.9

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc  -g -O2
  C++ compiler:              g++  -g -O2
  Fortran compiler:          g77  -g -O2

  Interfaces supported:      X11
  External libraries:        readline
  Additional capabilities:   
  Options enabled:           R profiling

  Recommended packages:      yes

configure: WARNING: you cannot build DVI versions of the R manuals
configure: WARNING: you cannot build info or html versions of the R
manuals
configure: WARNING: you cannot build PDF versions of the R manuals
configure: WARNING: I could not determine a browser

bash-2.0.5$make
<SNIP>

bash-20.5$ make check
make[1]: Entering directory `/home/phineas/R_HOME/R-2.0.1/tests'
make[2]: Entering directory `/home/phineas/R_HOME/R-2.0.1/tests'
make[3]: Entering directory
`/home/phineas/R_HOME/R-2.0.1/tests/Examples'
make[4]: Entering directory
`/home/phineas/R_HOME/R-2.0.1/tests/Examples'
make[4]: Leaving directory `/home/phineas/R_HOME/R-2.0.1/tests/Examples'
make[4]: Entering directory
`/home/phineas/R_HOME/R-2.0.1/tests/Examples'
make[4]: *** No rule to make target `../../bin/exec/R', needed by
`base-Ex.Rout'.  Stop.
make[4]: Leaving directory `/home/phineas/R_HOME/R-2.0.1/tests/Examples'
make[3]: *** [test-Examples-Base] Error 2
make[3]: Leaving directory `/home/phineas/R_HOME/R-2.0.1/tests/Examples'
make[2]: *** [test-Examples] Error 2
make[2]: Leaving directory `/home/phineas/R_HOME/R-2.0.1/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving directory `/home/phineas/R_HOME/R-2.0.1/tests'
make: *** [check] Error 2


/home/phineas/R_HOME/R-2.0.1/bin/exec is empty when presumably it should
have the executable installed.  This may be a permissions issue
as I installed a previous version of R as root.  However this required
some gymnastics as $PATH cannot be altered for root.  Do I have a
correct version of GCC for my version of Solaris?  Any help gratefully
apreciated.

Phineas Campbell




More information about the R-help mailing list