[R] lmtest build fails, readline problem
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
> * 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
for readline so that you can /compile and link/ against readline,
only run pre-built programs using readline.
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