LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2016, 11:48 PM   #1
canadensis
Member
 
Registered: Sep 2013
Location: Sydney, Australia
Distribution: Slackware, xBSD, Gentoo, Calculate
Posts: 55

Rep: Reputation: 6
RStudio compile fails on current


Hi, Trying to install RStudio on 32bit current (full install of course!). The SlackBuild process fails with:

Code:
...
     io
     [java]    Link succeeded
     [java]    Compilation succeeded -- 137.666s

build:

BUILD SUCCESSFUL
Total time: 2 minutes 47 seconds
[  0%] Built target gwt_build
Scanning dependencies of target rstudio-core
[  0%] Building CXX object src/cpp/core/CMakeFiles/rstudio-core.dir/Assert.cpp.o
/tmp/SBo/rstudio-rstudio-c097d85/src/cpp/core/Assert.cpp: In function 'void boost::assertion_failed(const char*, const char*, const char*, long int)':
/tmp/SBo/rstudio-rstudio-c097d85/src/cpp/core/Assert.cpp:40:10: error: 'boost::core::log' has not been declared
    core::log::logWarningMessage(msg, location);
          ^
/tmp/SBo/rstudio-rstudio-c097d85/src/cpp/core/Assert.cpp: In function 'void boost::assertion_failed_msg(const char*, const char*, const char*, const char*, long int)':
/tmp/SBo/rstudio-rstudio-c097d85/src/cpp/core/Assert.cpp:64:10: error: 'boost::core::log' has not been declared
    core::log::logWarningMessage(message, location);
          ^
src/cpp/core/CMakeFiles/rstudio-core.dir/build.make:62: recipe for target 'src/cpp/core/CMakeFiles/rstudio-core.dir/Assert.cpp.o' failed
make[2]: *** [src/cpp/core/CMakeFiles/rstudio-core.dir/Assert.cpp.o] Error 1
CMakeFiles/Makefile2:199: recipe for target 'src/cpp/core/CMakeFiles/rstudio-core.dir/all' failed
make[1]: *** [src/cpp/core/CMakeFiles/rstudio-core.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
This may have been solved: http://stackoverflow.com/questions/2...h-boost-1-56-0 - but I do not understand the solution! Should this code be added to the SlackBuild?

I tried to find the latest RStudio tarball to try, but I cannot find it through the RStudio site https://github.com/rstudio/rstudio/ Arrgh.

Apologies if the answer is staring me in the face!

Bill
 
Old 02-09-2016, 12:36 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,227

Rep: Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463
hi canadensis,

SBo's repository supports the latest stable Slackware, 14.1 ATM, not current, so if you build things from it on current you might have issues.

if you need to build stuff on current usually I would suggest you to try the fork for current that me and David are maintaining but now that SBo's git repository is transitioning to 14.2 you will find the fixes that were on our fork and many more on its master branch (while the web repository will be updated after 14.2 is out for the reason above): for example here is the one added by David for RStudio

https://slackbuilds.org/cgit/slackbu...f8c184ce326ff9

Last edited by ponce; 02-09-2016 at 12:56 AM.
 
Old 02-10-2016, 03:00 AM   #3
canadensis
Member
 
Registered: Sep 2013
Location: Sydney, Australia
Distribution: Slackware, xBSD, Gentoo, Calculate
Posts: 55

Original Poster
Rep: Reputation: 6
ponce - Thanks, your updated SlackBuild worked a treat! Once again I cannot get over the level of support available from all the Slackware folks - it really is unmatched anywhere and I hope that I can contribute a bit down the track.

Cheers, Bill
 
Old 01-28-2018, 09:10 AM   #4
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Hello, sorry for highjacking this thread, but my problem is very similar. I am running Slackware64-current and I tried installing Rstudio using Ponce's slackbuild.
I have installed jdk-9.0.4_linux-x86_64, during the repackaging of which I had to manually set JAVA_ARCH to "x86", because the default build script from "extra" does not work properly with jdk 9.
I get the following error message during the compilation of Rstudio:
Code:
javac:
    [mkdir] Created dir: /tmp/SBo/rstudio-rstudio-c097d85/src/gwt/bin
    [javac] Compiling 10 source files to /tmp/SBo/rstudio-rstudio-c097d85/src/gwt/bin
    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
/tmp/SBo/rstudio-rstudio-c097d85/src/gwt/build.xml:88: Compile failed; see the compiler error output for details.
Any suggestions will be appreciated.

Best regards,
Martin
 
Old 01-28-2018, 09:46 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,227

Rep: Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463Reputation: 3463
Hi Martin,

I had a look, but the version of rstudio-desktop on SBo not only has problem with a newer java than on the repository (in fact on SBo we are still on 8uX for compatibility reasons) but also with the newer boost in current.
the SlackBuild doesn't receive updates from its maintainer since four years now, so I can suggest you to get in touch with him, putting the slackbuilds-users mailing list in cc.

Last edited by ponce; 01-28-2018 at 09:49 AM.
 
Old 01-28-2018, 11:54 AM   #6
heyjann
Member
 
Registered: Dec 2015
Posts: 102

Rep: Reputation: Disabled
Hi Martin,
If you prefer compiling all your software, this is not going to be helpful, but on -current I tend to just download the Fedora-compatible tar.gz (not the rpm) from rstudio.com to /opt and unpack it there: it works fine for me.
The prebuilt package seems to come with (most of) the libraries it needs, but it does not make a mess: I can delete everything from /opt anytime I like.

After unpacking, I run it like this:
Code:
export QT_STYLE_OVERRIDE=GTK+ && /opt/rstudio-1.1.414/bin/rstudio
(I think I am a few versions behind, and the QT style setting is of course a matter of taste)
 
1 members found this post helpful.
Old 01-28-2018, 12:50 PM   #7
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Rep: Reputation: 221Reputation: 221Reputation: 221
I had problem with compiling Rstudio using SBO slackbuild on 14.2 either. However, there's a simple solution: grab latest Rpm or Deb binary from Rstudio web page and use rpm2tgz or deb2tgz to create Slackware packages. Rstudio 1.1.383 works fine with R 3.4.2 and jdk 8u162 on 14.2.
 
Old 01-28-2018, 04:29 PM   #8
canadensis
Member
 
Registered: Sep 2013
Location: Sydney, Australia
Distribution: Slackware, xBSD, Gentoo, Calculate
Posts: 55

Original Poster
Rep: Reputation: 6
Hi travis82,

Thanks for this, but I have given up on RStudio. It is so complex and has so many dependencies (as well as Slackware I also use Calculate Linux, based on Gentoo). The final straw recently was that RStudio began running so slowly that it was just unusable. For me the most useful feature of RStudio was the object list in the top right window pane, but otherwise I did not use any of its other functionality.

The alternative: VimR and Tmux...

- Reasons for Transitioning to Vim: Bringing LaTeX, R, Sweave and More under One Roof - http://jeromyanglim.blogspot.com.au/...ng-to-vim.html

- Vim-R-Tmux: An Integrated Working Environment for R - http://manuals.bioinformatics.ucr.ed...ing-in-r/vim-r

There are many other advocates and tutorials. Simplify your life!

Cheers,
Bill

Last edited by canadensis; 01-28-2018 at 04:31 PM.
 
1 members found this post helpful.
Old 01-28-2018, 11:31 PM   #9
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 1,062

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
Quote:
Originally Posted by canadensis View Post
Hi travis82,

Thanks for this, but I have given up on RStudio. It is so complex and has so many dependencies (as well as Slackware I also use Calculate Linux, based on Gentoo). The final straw recently was that RStudio began running so slowly that it was just unusable. For me the most useful feature of RStudio was the object list in the top right window pane, but otherwise I did not use any of its other functionality.

The alternative: VimR and Tmux...

- Reasons for Transitioning to Vim: Bringing LaTeX, R, Sweave and More under One Roof
Way back I also started with RStudio. For various reasons I wasn't satisfied, and I was learning Vim and tried the Vim/R/LaTeX setup. It was OK, but my search for the perfect R+LaTeX/Rnw setup ended up with Emacs (along with AUCTex + ESS). Also, Sweave is quite an old approach now, and I think that the newer knitr package has various advantages.
 
Old 01-29-2018, 10:07 AM   #10
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by canadensis View Post
Hi travis82,

Thanks for this, but I have given up on RStudio. It is so complex and has so many dependencies (as well as Slackware I also use Calculate Linux, based on Gentoo). The final straw recently was that RStudio began running so slowly that it was just unusable. For me the most useful feature of RStudio was the object list in the top right window pane, but otherwise I did not use any of its other functionality.

The alternative: VimR and Tmux...

- Reasons for Transitioning to Vim: Bringing LaTeX, R, Sweave and More under One Roof - http://jeromyanglim.blogspot.com.au/...ng-to-vim.html

- Vim-R-Tmux: An Integrated Working Environment for R - http://manuals.bioinformatics.ucr.ed...ing-in-r/vim-r

There are many other advocates and tutorials. Simplify your life!

Cheers,
Bill
Thank you my friend. I started with Rcommander and Rkward. RStudio fits my needs but as you pointed out it's a huge beast. These vim plugins looks promising. Thanks for the links
 
Old 02-27-2018, 01:53 PM   #11
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 456

Rep: Reputation: 295Reputation: 295Reputation: 295
heyjann wrote:

Quote:
on -current I tend to just download the Fedora-compatible tar.gz (not the rpm) from rstudio.com to /opt and unpack it there: it works fine for me.
This worked well for me after fruitless fiddling with the build and boost errors...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Networkmanager-vpnc-0.9.4 fails to compile under -current fl0 Slackware 7 04-05-2013 03:38 PM
[SOLVED] MPlayer fails to compile on -current Daedra Slackware 8 08-18-2011 10:07 PM
tvtime fails to compile on -current imitis Slackware 2 08-15-2011 03:51 PM
[SOLVED] Alien Bob's VLC fails to compile on newest current Daedra Slackware 3 03-06-2010 04:23 PM
[SOLVED] Firefox fails to compile on -current Daedra Slackware 7 01-16-2010 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration