Dear all,

I try to install the latest R version using checkinstall (v. 1.6.2) on Ubuntu 11.10. After solving all the dependencies (installed using apt-get build-dep r-base) checkinstall fails to build and install R package with the following error (the same commands build and install R-2.13.2 on the same machine without any problem):

wget http://cran.r-project.org/src/base/R-2/R-2.14.0.tar.gz
tar xvzf R-2.14.0.tar.gz
cd R-2.14.0/
./configure --enable-R-shlib
make
sudo checkinstall

========================= Installation results ===========================
make[1]: Entering directory `/home/andrej/Downloads/R-2.14.0/m4'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/andrej/Downloads/R-2.14.0/m4'
make[1]: Entering directory `/home/andrej/Downloads/R-2.14.0/tools'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/andrej/Downloads/R-2.14.0/tools'
make[1]: Entering directory `/home/andrej/Downloads/R-2.14.0/doc'
installing doc ...
mkdir -p -- /usr/local/lib/R/doc
mkdir -p -- /usr/local/share/man/man1
mkdir: cannot create directory `/usr/local/share/man': No such file or directory
make[1]: *** [installdirs] Error 1
make[1]: Leaving directory `/home/andrej/Downloads/R-2.14.0/doc'
make: *** [install] Error 1

****  Installation failed. Aborting package creation.

The only way to build and install package is with:
sudo checkinstall --fstrans=no --install=no
sudo dpkg -i r_2.14.0-1_i386.deb

Any ideas how to solve this issue? Thanks in advance for any help you can give.

Best, Andrej

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to