[R-sig-Debian] Trouble building R 3.5.0 under Ubuntu 18.04 (Bionic Beaver)

Dirk Eddelbuettel edd @ending from debi@n@org
Thu May 24 18:22:48 CEST 2018


On 24 May 2018 at 09:15, Steve Gutreuter wrote:
| All of my attempts to build R 3.5.0 from sources under Ubuntu 18.04
| have failed, and I cannot figure out what I am doing wrong.  I have

Ubuntu builds
   https://launchpad.net/~marutter/+archive/ubuntu/rrutter3.5
with sources if you want to know more.

Based on my Debian builds which you can peruse at
   https://salsa.debian.org/edd/r-base

That said, R 3.5.0 is _not_ compatible with R 3.4.* and before so if you
install these binaries expect _all_ old R packages, whether from r-cran-* or
locally installed, to croak.  Which is why R 3.5.0 is not yet mirrored at
CRAN -- we're just not there yet.

| tried may things, including :
| 
| export LDFLAGS="$LDFLAGS -fPIC"
| export CXXFLAGS="$CXXFLAGS -fPIC"
| export CFLAGS="$CFLAGS -fPIC"
| ./configure --enable-R-shlib --prefix=/usr/lib/R/3.5.0

I am not sure where you got those settings from. That is (AICR) not what it
is in the R Installation + Administration manual which you should consult if
you insist on doing it locally.

I have a fairly strongly held conviction that the available binaries are
actually better for you (we make many informed choices for you and add
several bells as well as a few whistles) but you are free to ignore it.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-SIG-Debian mailing list