From mauricio.zambrano at ufrontera.cl  Tue Jul 21 16:53:23 2015
From: mauricio.zambrano at ufrontera.cl (MAURICIO ZAMBRANO BIGIARINI)
Date: Tue, 21 Jul 2015 11:53:23 -0300
Subject: [Rd] ' --enable-R-shlib' problem when setting up R-devel in
 Linux Mint 17.1 64-bit
In-Reply-To: <91FF6478-328A-41D0-BE8B-59569CD8DF82@gmail.com>
References: <CAP6VaruUVAAEj-V0JxYB0Ueq7oBNyysUB-9kzKxG-9aa5mfujA@mail.gmail.com>
	<CAP6Varse6imZoxzGearqG-7nBLmrmKyuB=N6TG3Bcc=CTkTw4A@mail.gmail.com>
	<21934.10596.6975.789890@max.nulle.part>
	<91FF6478-328A-41D0-BE8B-59569CD8DF82@gmail.com>
Message-ID: <CAP6VarsoceKw9g7DF4WxcPPbYkouPbokaep0dVkwXKg=NayJJw@mail.gmail.com>

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
>
>
>
>
>
>
>
>



[Rd] ' --enable-R-shlib' problem when setting up R-devel in Linux Mint 17.1 64-bit
MAURICIO ZAMBRANO BIGIARINI