[R-sig-Debian] proplems installing R 2.5 on Ubuntu 14.04

Johannes Ranke jranke at uni-bremen.de
Tue Nov 8 15:32:26 CET 2016


Am Dienstag, 8. November 2016, 08:28:35 schrieb Dirk Eddelbuettel:
> On 8 November 2016 at 14:39, Lentes, Bernd wrote:
> | i'd like to install R 2.5 on an Ubuntu 14.04.
> | I have a special software requiring this old version.
> | 
> | While ./configure, i get the following error:
> | 
> | checking for mbstate_t... yes
> | checking for X... no
> | configure: error: --with-x=yes (default) and X11 headers/libs are not
> | available
> | 
> | The problem is that i don't know which headers or libraries are missing,
> | and when i search with aptitude in the Ubuntu repositories i find a ton
> | of them and don't know which one to install.
> | 
> | Can anyone help me ?
> 
> Builds are fully automated; the file debian/control lists in Build-Depends:
> exactly which packages are needed.  Now, we are usually concerned with
> getting _current_ versions right.  For R 3.3.2 we currently have
> 
>     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
> 
> but some of these things are moving targets as packages are renamed or
> reorganised.  Start from there.

you can get the build dependencies of current R easily with

apt-get build-dep r-base

Good luck,

Johannes



More information about the R-SIG-Debian mailing list