Closed MichaelChirico closed 4 years ago
I would think that the error is on your side--you simply failed to install the build-dependencies.
I have two hints for you:
i) You can list all those packages shonw below in just one 'sudo apt-get install' invocation.
ii) Even better, just do 'sudo apt-get build-dep r-base' and you get all the build-dependencies for the package as built in the distribution itself.
Currently, this uses (and I quote from the source, so there is more meta-data here you can ignore):
Build-Depends: gcc (>= 4:4.1.0), g++ (>= 4:4.1.0), gfortran (>= 4:4.1.0), libblas-dev, liblapack-dev (>= 3.1.1), tcl8.6-dev, tk8.6-dev, bison, groff-base, libncurses5-dev, libreadline-dev, debhelper (>= 7.2.3), texinfo (>= 4.1-2), libbz2-dev, liblzma-dev, libpcre3-dev, libcurl4-openssl-dev | libcurl4-dev, xdg-utils, zlib1g-dev, libpng-dev, libjpeg-dev, libx11-dev, libxt-dev, x11proto-core-dev, libpango1.0-dev, libcairo2-dev, libtiff5-dev, xvfb, xauth, xfonts-base, texlive-base, texlive-latex-base, texlive-generic-recommended, texlive-fonts-recommended, texlive-fonts-extra, texlive-extra-utils, texlive-latex-recommended, texlive-latex-extra, default-jdk [!arm !hppa !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], mpack, bash-completion
You may notice that this does include libbz2-dev as well as liblzma-dev.
Installation of source from R-3.3.0 (I put the source and unpacked it in /home/myname/selfinstalled/ folder so that it is /home/myanme/selfinstalled/R-3.3.0/ folder
did
$ cd∼/selfinstalled/R-3.3.0/
and I preinstalled
before firing the
./configure
command: it fails with error checking bzip2. (bz2) Although bzip2 is installed and is version 1.0.6-8. This problem I encountered in ubuntu 16.04 as well as 14.04 LTS versions.
METADATA