Dirk Eddelbuettel
2015-Jul-21 11:13 UTC
[Rd] ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
On 21 July 2015 at 02:15, MAURICIO ZAMBRANO BIGIARINI wrote: | Regarding the previous problem with setting up r-devel in Linux Mint | 17.1 64-bit, I deleted all the r-devel files I previously had, and | then I did the check out to the | | '~/svn/r-devel' | | directory originally mentioned by by Dirk on | https://stat.ethz.ch/pipermail/r-sig-debian/2012-August/001935.html, | instead of the customised location I previously chose: | | '~/SVN/R-devel/trunk' | | and now I everything worked perfectly fine. | | However, I'm still wondering what should I change in the first script | proposed by Dirk on | https://stat.ethz.ch/pipermail/r-sig-debian/2012-August/001935.html if | i want to use a user-defined location for the development files (e.g., | '~/SVN/R-devel/trunk'). I meant, in addition to the line: | | cd ~/svn/r-devel That is most likely spurious. Your errors may be due to, say, you not having run 'make clean' or 'make distclean' in the previous repo checkout you had so that the effect of the _initial_ configure call still lingered. There is no magic here. Lots of people have built R this way, and even more people use configure regularly. These things work. You somehow boxed yourself into a corner, out of which you now seem to have escaped, which is good. The proper sequence (svn checkout ...; configure ...; make ...) will work no matter what name you give the directory you work in. Regards, Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
peter dalgaard
2015-Jul-21 12:16 UTC
[Rd] ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
> On 21 Jul 2015, at 13:13 , Dirk Eddelbuettel <edd at debian.org> wrote: > > > You somehow boxed yourself into a corner, out of which you now seem to have > escaped, which is good. The proper sequence (svn checkout ...; configure > ...; make ...) will work no matter what name you give the directory you work > in. >You may want to avoid building in the source directory, though. We don't generally do that when testing, so you may bump into something unexpected. I.e., rather do export REPOS=https://svn.r-project.org/R export RTOP=~ #adjust as necessary cd $RTOP svn co $REPOS/trunk r-devel/R mkdir r-devel/BUILD #--- cd r-devel/R svn up cd ../BUILD ../R/configure make For configure optione, I generally maintain a config.site in the r-devel directory and copy it to BUILD before running configure. Presumably, regular R already exists as a package on Linux Mint. You might want to investigate how R is built from sources, see for instance: http://community.linuxmint.com/tutorial/view/1822 -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
MAURICIO ZAMBRANO BIGIARINI
2015-Jul-21 14:53 UTC
[Rd] ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
Thank you very much Dirk, Peter and Johannes for all your help. Now, I removed all the previous files and repeated all the previous procedure using my own SVN directory, instead of the ' ~/svn/r-devel' included in the original mail of Dirk, and everything worked fine as well. So I can confirm that very likely I suffered the effect of the _initial_ configure, because I didn't run 'make clean' or 'make distclean' in the first repo I checkout. Finally, I slightly modified the first script of Dirk on https://stat.ethz.ch/pipermail/r-sig-debian/2012-August/001935.html, to avoid building in the source directory (following the advice of Peter Dalgaard) and finally I'm able to set up R-devel on a daily basis ! Thanks to all of you and I hope this thread might be useful for somebody else.... Kind regards, Mauricio Zambrano-Bigiarini, PhD ====================================Dept. of Civil Engineering Faculty of Engineering and Sciences Universidad de La Frontera PO Box 54-D, Temuco, Chile ====================================mailto : mauricio.zambrano at ufrontera.cl work-phone : +56 45 259 2812 http://ingenieriacivil.ufro.cl/ ===================================="When the pupil is ready, the master arrives." (Zen proverb) ====================================Linux user #454569 -- Linux Mint user On 21 July 2015 at 09:16, peter dalgaard <pdalgd at gmail.com> wrote:> >> On 21 Jul 2015, at 13:13 , Dirk Eddelbuettel <edd at debian.org> wrote: >> >> >> You somehow boxed yourself into a corner, out of which you now seem to have >> escaped, which is good. The proper sequence (svn checkout ...; configure >> ...; make ...) will work no matter what name you give the directory you work >> in. >> > > You may want to avoid building in the source directory, though. We don't generally do that when testing, so you may bump into something unexpected. > > I.e., rather do > > export REPOS=https://svn.r-project.org/R > export RTOP=~ #adjust as necessary > cd $RTOP > svn co $REPOS/trunk r-devel/R > mkdir r-devel/BUILD > #--- > cd r-devel/R > svn up > cd ../BUILD > ../R/configure > make > > For configure optione, I generally maintain a config.site in the r-devel directory and copy it to BUILD before running configure. > > Presumably, regular R already exists as a package on Linux Mint. You might want to investigate how R is built from sources, see for instance: http://community.linuxmint.com/tutorial/view/1822 > > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com > > > > > > > >
Seemingly Similar Threads
- ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
- ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
- ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
- Installing TMAP in R Studio on Linux Mint
- building R Devel --enable-R-shlib