[R] R 2.14.0 installation problem (?)

Peter Langfelder peter.langfelder at gmail.com
Thu Nov 3 01:00:32 CET 2011


Hi all,

I downloaded R-2.14.0.tar.gz, unpacked, ran configure with
--with-blas="-lgoto2", built, then issued

make install rhome=/usr/local/lib/R-2.14.0-goto

This produced the following error:

[lots of output deleted]

make[3]: Entering directory
`/home/plangfelder/Download/R-2.14.0/src/modules/lapack'
cp: cannot create regular file
`/usr/local/lib/R-2.14.0-goto/lib/libRlapack.so': No such file or
directory
make[3]: *** [install] Error 1
make[3]: Leaving directory
`/home/plangfelder/Download/R-2.14.0/src/modules/lapack'
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/plangfelder/Download/R-2.14.0/src/modules'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/plangfelder/Download/R-2.14.0/src'
make: *** [install] Error 1

Apparently the error was caused by the fact that the script neglected
to create the directory /usr/local/lib/R-2.14.0-goto/lib/ before
attempting to copy the libRlapack.so file into it. Creating the
directory manually and re-running make install
rhome=/usr/local/lib/R-2.14.0-goto solved the problem. The installed R
seems to work fine.

Is it a bug in the appropriate Makefile, or did I do something wrong?
I'm on Fedora 9 (i686, i386, kernel 2.6.27.25-78.2.56.fc9.i686 if that
makes any difference)...

Thanks,

Peter



More information about the R-help mailing list