[R] lmtest build fails, readline problem

Tim Wilson wilson at visi.com
Fri Jul 12 07:33:26 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
make: *** [lmtest.so] Error 1
ERROR: compilation failed for package 'lmtest'

It can't find readline, but I definitely have readline installed. There
doesn't appear to be a way to specify additional locations on the R CMD
line. It's possible that my readline version isn't compatible, but I've
had no similar problems before. Readline works perfectly within R.

I can't find any documentation on how these package builds work. Where's
the Makefile? I looked in the R administration guide, but didn't find
the info I was looking for.

Any suggestions?

-Tim

-- 
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson at visi.com |  <dtml-var pithy_quote>  | http://linux.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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