[R-SIG-Mac] How to NOT remove build directory after building a package?
Yoshihiko Baba
b@b@yo@h|h|ko @end|ng |rom m@c@com
Sat Sep 21 02:03:31 CEST 2019
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
More information about the R-SIG-Mac
mailing list