[R] lmtest build fails, readline problem
Torsten Hothorn
Torsten.Hothorn at rzmail.uni-erlangen.de
Fri Jul 12 08:44:03 CEST 2002
> Hi everyone,
>
> I've downloaded the lmtest package, but I'm having trouble building it.
> Here's the output:
>
> copland:/home/wilson/tmp# R CMD INSTALL -l /usr/lib/R/library
> lmtest_0.9-0.tar.gz
> * Installing *source* package 'lmtest' ...
> ** libs
> g77 -fPIC -g -O2 -c pan.f -o pan.o
> gcc -shared -o lmtest.so pan.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
this was on this list on July 9 (subject: mvtnorm failure or something
like that), citing Dirks answer:
> > /usr/bin/ld: cannot find -lreadline
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is a pretty clear message: you need to install the matching -dev
package
for readline so that you can /compile and link/ against readline,
currently you
can
only run pre-built programs using readline.
Torsten
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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