[R] problems compiling R packages with Linux

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Jan 7 23:46:59 CET 1999


Ulf Mehlig <umehlig at uni-bremen.de> writes:

> R's version is 0.63.0, my i386-Linux is kernel 2.0.35. I hadn't had
> problems to compile R, and R itself seems to work.
> 
> If I try to install the package by
> 
>   > R INSTALL /usr/local/share/R/library/ctest/
> 
> I get a lot of error messages. R is installed in /usr/local/share/R,
> and I untar'ed the package in the library directory. I have write
> permissions for those directories. Apparently the linker cannot find a
> "main" module file or a certain (shared?) library. Some -lxxx missing
> on compiler's command line?

Two things here look like trouble. One is that a lot of configure/make
issues has been hashed out between 0.63.0 and 0.63.1, and the other is
that you seem to be extracting your source files into the same
directory that the package should be installed in, which may confuse
make rather badly. Try one of

* extract to (say) /usr/local/src/R-contrib/ctest and then just
  R INSTALL /usr/local/src/R-contrib/ctest

* upgrade to 0.63.1

... or both. Works ok here with 
  Version 0.63.2 in progress (December 22, 1998)
anyway.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list