[R] RE: mvtnorm package installation failure

jonathan_li@agilent.com jonathan_li at agilent.com
Tue Jul 9 19:39:36 CEST 2002


Thank you for the tip.

I tried to re-intall R from Debian "stable", in which R's version is 1.4.0. And the installation 
of "mvtnorm" works. 

I then re-installed R yet again from Debian "unstable" (woody), in which R's version is 1.5.1.
The installation of "mvtnorm" fails again with the same error message. Another package that 
failed with the same error message is "mclust". 

>From these phenomena, I suspect that the problem is with the Debian version of R 1.5.1. Can someone
point out a fix?  

Thanks in advance.


Jonathan Qiang Li, Ph.D.
Agilent Labs
Palo Alto, CA

-----Original Message-----
From: Torsten Hothorn [mailto:Torsten.Hothorn at rzmail.uni-erlangen.de]
Sent: Sunday, June 30, 2002 11:55 PM
To: Jonathan Li
Subject: Re: mvtnorm package installation failure

> Hi, I want to thank you in advance for any assistance you may give: I
> had
> trouble installing the mvtnorm package. Here is the error message I
> encountered:
> R CMD INSTALL mvtnorm
> * Installing *source* package 'mvtnorm' ...
> ** libs
> gcc -shared  -o mvtnorm.so mvt.o   -L/usr/lib/gcc-lib/i386-linux/2.95.4
> -lreadline -ldl -lncurses -lg2c-pic -lm -L/usr/lib/R/bin -lR
> /usr/bin/ld: cannot find -lreadline
> collect2: ld returned 1 exit status
> make: *** [mvtnorm.so] Error 1
> ERROR: compilation failed for package 'mvtnorm'
> I am using Debian Linux 2.20 on a Intel machine. R version is 1.5.0.
> I have not seen this kind of error before. Any hint is highly
> appreciated!

looks like an R installation problem. did you compile R yourself and what
did `make check' say?


> Best Regards,
> Jonathan
> -- 
> Jonathan Q. Li, PhD
> Agilent Technologies Laboratory
> Palo Alto, California, USA
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