Skip to content
Prev 67651 / 398506 Next

compiling & installing R devel version on Debian - SOLVED

Thanks to Prof. Ripley I solved it.

Actually it was my (stupid) fault. In .Renviron I actually set R_LIBS

Thanks again

Stefano
On Thu, Apr 14, 2005 at 11:07:00AM +0100, Prof Brian Ripley wrote:
<Prof>On Thu, 14 Apr 2005, Stefano Calza wrote:
<Prof>
<Prof>>Hi all.
<Prof>>
<Prof>>I'm compiling the devel version of R on Debian GNU/Linux, and installing 
<Prof>>it into /usr/local tree (instead of default /usr). So:
<Prof>
<Prof>The default *is* --prefix=/usr/local (no trailing space). Are you sure you 
<Prof>are not getting R confused with some other version, e.g. by having R_LIBS 
<Prof>set to point to your other installation?
<Prof>
<Prof>>./configure --prefix=/usr/local/
<Prof>>make
<Prof>>make install
<Prof>>
<Prof>>Everything works fine, but when I start R I get the following error 
<Prof>>messages (traslated from italian, sorry):
<Prof>
<Prof>If it passes `make check' then the build is fine, you are just not using it.
<Prof>Please do try make check before installation.
<Prof>
<Prof>>Error in dyn.load(x,as.logical(local),as.logical(now)):
<Prof>>    impossible to load the shared library 
<Prof>>    '/usr/lib/R/library/stats/libs/stats.so':
<Prof>>libR.so:cannot open shared object file: No such file or directory
<Prof>
<Prof>-- 
<Prof>Brian D. Ripley,                  ripley at stats.ox.ac.uk
<Prof>Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
<Prof>University of Oxford,             Tel:  +44 1865 272861 (self)
<Prof>1 South Parks Road,                     +44 1865 272866 (PA)
<Prof>Oxford OX1 3TG, UK                Fax:  +44 1865 272595