SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have been having a problem with installing Rstudio to my Slackware 64 14.1 distribution. I used sbopkg to install it, and at the end, I get the following error:
I have also installed the following dependencies:
jdk(8u45)
apache-ant (version 1.9.5) - the link on slackbuilds was dead, so I downloaded the 1.9.5 source from the website and used the slackbuild to install it... could this cause a problem? I changed the version in the slackbuild code from 1.9.4 to 1.9.5, but I did not do anything else outside of that.
I have also installed R-3.2.0 from sbopkg.
The problem occurs at the end of the session (after the 99), and although I get multiple warnings regarding boost, it never registers an error until I get the following:
Code:
Linking CXX executable rsession
CMakeFiles/rsession.dir/modules/environment/EnvironmentMonitor.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/environment/SessionEnvironment.cpp.o:(.bss+0x8): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RExec.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSession.cpp.o):(.bss+0x10): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(REmbeddedPosix.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSearchPath.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [src/cpp/session/rsession] Error 1
make[1]: *** [src/cpp/session/CMakeFiles/rsession.dir/all] Error 2
make: *** [all] Error 2
Do you know what might be the problem here?
Thank you in advance.
Last edited by koolimy; 06-16-2015 at 10:53 PM.
Reason: Need to include more information
Sorry for bothering you guys, I have followed the advice on another thread, which advised to use the tool "rpm2tgz" to convert an rpm file downloaded from the RStudio homepage (the newest version, 0.99.446) into an installable tgz package. Using this tool and installing using the # installpkg command, I was able to install RStudio and get it to work.
You can work around it by patching `Rinterface.h`; ie, by adding back the missing `extern`.
Thank you! Although I have already gotten RStudio to work, this seems like important information for anybody trying to install RStudio from the Slackbuilds repository.
It seems that 'Rinterface.h' is already fixed in the latest R (3.2.1), but why bother to build the whole RStudio when the *-debian.tar.gz build you can get from rstudio.com works as a charm - just extract it somewhere and run '/bin/rstudio' ...
It seems that 'Rinterface.h' is already fixed in the latest R (3.2.1), but why bother to build the whole RStudio when the *-debian.tar.gz build you can get from rstudio.com works as a charm - just extract it somewhere and run '/bin/rstudio' ...
Some people prefer all files installed into the system to be recognized by the package manager (I certainly do). Using SBo helps with that process...
.. use the tool "rpm2tgz" to convert an rpm file downloaded from the RStudio homepage .. into an installable tgz package. Using this tool and installing using the # installpkg command, .....
on my multilib system the rstudio folder ended up in /usr/lib , not in /usr/lib64; is rpm2tgz only good for 32bit packages?
on my multilib system the rstudio folder ended up in /usr/lib , not in /usr/lib64; is rpm2tgz only good for 32bit packages?
rpm2tgz just repackages respecting the original directory structure inside the rpm archive, so how file are placed in the tgz depends on the original file.
Yes, that is how the script works and is fine for 32bit versions as /usr/lib deals with those; /usr/lib64 is how Slackware deals with 64-bit but that, obviously, is unlike the way the others do it. My remarks was just that; pointing out this small complication.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.