[R] problems when compiling package 'norm'

arv@ono.com arv at ono.com
Tue Jan 21 09:14:31 CET 2003


Dear All,

Trying to install package 'norm' under linux-mandrake8.2 I've got the
following messages:

R CMD INSTALL norm_1.0-9.tar.gz
* Installing *source* package 'norm' ...
** libs
g77 -mieee-fp  -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
-march=i586 -fno-fast-math -fno-strength-reduce  -O3
-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -fno-fast-math
-fno-strength-reduce -c norm.f -o norm.o
gcc -shared -L/usr/local/lib -o norm.so norm.o  -L/usr/local/lib
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../..
-lreadline -ldl -lncurses -lg2c -lm -L/usr/lib/R/bin -lR
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [norm.so] Error 1
ERROR: compilation failed for package 'norm'

My libreadline's are under /lib. I've tried with: 

R CMD INSTALL --with=/lib norm_1.0-9.tar.gz

but same results

Thanks in advance

Antonio




More information about the R-help mailing list