Saren Tasciyan
2019-Nov-24 21:24 UTC
[Rd] Can't build R 3.6.1 or 3.5.3 on Ubuntu 18.04 LTS
Hi, Yes I am aware of it. And yes, I have libicu60 installed. Is it the configure script making a mistake? Best, Saren On 11/22/19 4:12 PM, Jeroen Ooms wrote:> On Fri, Nov 22, 2019 at 2:58 PM Saren Tasciyan <saren.tasciyan at ist.ac.at> wrote: >> Hi, >> >> I am trying to build a more recent version (3.6.1 or 3.5.3) of R on >> Ubuntu 18.04 LTS. > Are you aware you can get up-to-date binaries either from PPA or CRAN: > > sudo add-apt-repository ppa:marutter/rrutter > sudo apt-get install r-base-dev > >> and I ran ./configure >> During "make", I get the following error: >> platform.o: In function `do_eSoftVersion': >> /home/user/Desktop/R-3.6.1/src/main/platform.c:3129: undefined reference >> to `u_getVersion_58' > Such linking errors indicate you are not linking against the correct > library that you compiled against. In this case, there seems to be a > version conflict because you compiled against version 58 of ICU, but > Ubuntu Bionic actually has ICU60: > https://packages.ubuntu.com/bionic/libicu-dev > > So the question is how do you end up with ICU58 headers? I am guessing > your either installed a custom libicu in /usr/local/, or you upgraded > from an older version of ubuntu but haven't upgraded libicu-dev. > Either way the solution is to clean up your system and make sure there > is only one version of libicu.
Dirk Eddelbuettel
2019-Nov-25 16:54 UTC
[Rd] Can't build R 3.6.1 or 3.5.3 on Ubuntu 18.04 LTS
On 24 November 2019 at 22:24, Saren Tasciyan wrote: | Yes I am aware of it. So why not use them? | And yes, I have libicu60 installed. Is it the configure script making a | mistake? Err, no. The configure setup is as solid as they come. But as Peter already said: "have lib$FOO installed" often means having the _run-time_ library. Yet to _build_, you also need the -dev package. You could subscribe to the r-sig-debian list and we can walk you through all of this there. It is a pretty friendly low-volume low-noise list. This list is not the best place for your questions. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Saren Tasciyan
2019-Nov-25 16:58 UTC
[Rd] Can't build R 3.6.1 or 3.5.3 on Ubuntu 18.04 LTS
On 11/25/19 5:54 PM, Dirk Eddelbuettel wrote:> On 24 November 2019 at 22:24, Saren Tasciyan wrote: > | Yes I am aware of it. > > So why not use them?I did at the end. But one might be maybe paranoid, maybe develop R, maybe this is what open source means> > | And yes, I have libicu60 installed. Is it the configure script making a > | mistake? > > Err, no. The configure setup is as solid as they come. But as Peter already > said: "have lib$FOO installed" often means having the _run-time_ library. > Yet to _build_, you also need the -dev package. > > You could subscribe to the r-sig-debian list and we can walk you through all > of this there. It is a pretty friendly low-volume low-noise list. This list > is not the best place for your questions.Sure thanks a lot. I will join there. Actually, problem was with ggpubr, which required a more recent version of R. Then I thought compiling was the only option and got into this mess. Finally, I found binaries from CRAN. But I wanted to report the issue to help with development.> > Dirk >