Hi,

I have been trying to build a CRAN package from the source on Mac+Fink.  
However, I got an error during the build process.  How can I tell R not to 
remove the temporary build directory?


checking for gsl-config... /sw/opt/gsl25/bin/gsl-config
checking if GSL version >= 2.1... checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in /private/tmp/RtmpqJYplW/Rbuildc37f217e13c4/gsl': 
configure: error: C compiler cannot create executables See config.log' for more 
details
ERROR: configuration failed for package 'gsl'
removing '/private/tmp/RtmpqJYplW/Rinstc37f5c43ba09/gsl'
-----------------------------------
ERROR: package installation failed


I am using Fink because Fink can install multiple versions of libraries (gsl in 
this case).  However, to have multiple versions, GSL libraries are installed in 
non-standard direcotry (/sw/opt/gsl25).  By setting:
$ export GSL_CONFIG=/sw/opt/gsl25/bin/gsl-config
I have managed to tell the location of GSL, but gcc failed somehow.  But the 
config.log was deleted by R.


Thanks
—
BABA Yoshihiko
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to