[Rd] make fails with Sun Forte compiler (PR#6815)

rsparapa at mcw.edu rsparapa at mcw.edu
Fri Apr 23 20:07:39 CEST 2004


Full_Name: rodney sparapani
Version: 1.9.0
OS: Solaris 9
Submission from: (NULL) (141.106.120.97)


I'm following the instructions for the Sun Forte compiler.  I had success with
1.8.1 so I think the compiler settings are correct (config.site):
     CC="cc -xarch=v8plusa"
     CFLAGS="-xO5 -xlibmil -dalign"
     F77="f95 -xarch=v8plusa"
     FFLAGS="-xO5 -xlibmil -dalign"
     CXX="CC -xarch=v8plusa"
     CXXFLAGS="-xO5 -xlibmil -dalign"
Actually, there is one thing that I didn't specify above, but I'm not sure how. 
The Sun Performance library is a BLAS library.  In LAPACK, you specify it as 
BLASLIB     ="-xlic_lib=sunperf"
Is there a simple way to specify that in config.site?  Anyways, that's probably
not the problem that I'm having, but if you have any advice...  
Here's the real problem, make fails at:
MAKE="make" R_LIBS= ../../../bin/R CMD INSTALL -l ../../../library foreign.tgz
* Installing *source* package 'foreign' ...
checking for gcc... make[3]: Entering directory `/tmp/R.INSTALL.8673/foreign'
cc -xarch=v8plusa
make[3]: Leaving directory `/tmp/R.INSTALL.8673/foreign'
checking for C compiler default output... configure: error: C compiler cannot
create executables
See `config.log' for more details.
error: configuration failed for package 'foreign': No such file or directory for
reading errors.
** Removing '/fw/src/R/R-1.9.0/library/foreign'
make[2]: *** [foreign.ts] Error 1
make[2]: Leaving directory `/fw/src/R/R-1.9.0/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2
make[1]: Leaving directory `/fw/src/R/R-1.9.0/src/library/Recommended'
make: *** [stamp-recommended] Error 2

foreign seems to be having a compiler problem that other recommended packages
did not.  Any ideas?



More information about the R-devel mailing list