See the R-help for yesterday. You need libreadline-dev or
libreadline-devel installed, and you must have installed from an rpm
or you could never have got here. You can go to R_HOME/etc/Makeconf and
delete -lreadline and -lncurses from FLIBS to avoid this.
Also, you are using gcc `2.96' and that is known to be broken in various
ways, notably with g77.
On Tue, 21 Jan 2003 arv at ono.com wrote:
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595