From kasperdanielhansen at gmail.com  Sun Nov 14 02:18:53 2010
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Sat, 13 Nov 2010 20:18:53 -0500
Subject: [Rd] problem building R from svn repo
In-Reply-To: <AANLkTik=vyZEkNPhGCbYi1mrbrRwnTSFFzDTufJx=ig6@mail.gmail.com>
References: <AANLkTik=vyZEkNPhGCbYi1mrbrRwnTSFFzDTufJx=ig6@mail.gmail.com>
Message-ID: <AANLkTinic7jc0UE0JmMVwnrBeAmcFUh5w0sZj8B3mTZB@mail.gmail.com>

Before make'ing you need to get the recommended packages.  I do (with
your paths)
../svn/tools/sync-recommended
../svn/tools/sync-recommended

You should not run configure or make with sudo.  If you need to
install system-wide, you only need to run make install under sudo,
like
./configure
make
sudo make install

Kasper

On Sat, Nov 13, 2010 at 6:25 PM, Kjetil Halvorsen
<kjetilbrinchmannhalvorsen at gmail.com> wrote:
> Hola!
>
> I just changed my laptop to debian squeeze,
> downloaded R devel from svn repo, as described in the manual.
>
> Then I configured for building in a separate build dir with:
>
> kjetil at kjetil:~/R/Rbuilddir$ sudo ?../svn/configure
>
> --- which succeeded, ?with:
>
> R is now configured for x86_64-unknown-linux-gnu
>
> ?Source directory: ? ? ? ? ?../svn
> ?Installation directory: ? ?/usr/local
>
> ?C compiler: ? ? ? ? ? ? ? ?gcc -std=gnu99 ?-g -O2
> ?Fortran 77 compiler: ? ? ? gfortran ?-g -O
>
> ?C++ compiler: ? ? ? ? ? ? ?g++ ?-g -O2
> ?Fortran 90/95 compiler: ? ?gfortran -g -O
> ?Obj-C compiler:
>
> ?Interfaces supported: ? ? ?X11
> ?External libraries: ? ? ? ?readline, ICU
> ?Additional capabilities: ? NLS
> ?Options enabled: ? ? ? ? ? shared BLAS, R profiling, Java
>
> ?Recommended packages: ? ? ?yes
>
> Then
> sudo make
>
> stops near the end with:
>
> writing package indices
> make[3]: Entering directory `/home/kjetil/R/Rbuilddir/src/library'
> make[3]: Leaving directory `/home/kjetil/R/Rbuilddir/src/library'
> make[2]: Leaving directory `/home/kjetil/R/Rbuilddir/src/library'
> make[1]: Leaving directory `/home/kjetil/R/Rbuilddir/src/library'
> make[1]: Entering directory `/home/kjetil/R/Rbuilddir/src/library/Recommended'
> make[2]: Entering directory `/home/kjetil/R/Rbuilddir/src/library/Recommended'
> make[2]: *** No rule to make target `MASS.ts', needed by
> `stamp-recommended'. ?Stop.
> make[2]: Leaving directory `/home/kjetil/R/Rbuilddir/src/library/Recommended'
> make[1]: *** [recommended-packages] Error 2
> make[1]: Leaving directory `/home/kjetil/R/Rbuilddir/src/library/Recommended'
> make: *** [stamp-recommended] Error 2
>
> --- not able to make the time-stamps!
>
> Kjetil
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] problem building R from svn repo
Kasper Daniel Hansen