-----Original Message-----
From: Peter Dalgaard BSA [mailto:p.dalgaard at biostat.ku.dk]
Sent: Tuesday, February 11, 2003 5:44 PM
To: Liaw, Andy
Cc: 'r-help at stat.math.ethz.ch'
Subject: Re: [R] configure can't get readline to work
"Liaw, Andy" <andy_liaw at merck.com> writes:
Dear R-help,
I'm running into some strange problem compiling R 1.6.2 on
9.0. When I do
./configure --enable-R-shlib
I get the following in config.log:
===========================
configure:11366: checking for rl_callback_read_char in -lreadline
configure:11397: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c
-lreadline -ldl -lm >&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libreadline.so:
undefined reference to `tgetnum'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libreadline.so:
undefined reference to `tgoto'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libreadline.so:
undefined reference to `tgetflag'
configure:11418: result: no
=================================
Does this mean my readline installation is somehow
re-installing readline (and readline-devel) version 4.3-4,
someone give me some hints?
Those are ncurses routines, so if it were RedHat I'd point you towards
the ncurses and ncurses-devel RPMs. Mandrake is usually similar.
(Curiously, on RH, the readline RPM does not require ncurses, even
though the library clearly has symbol references to it...)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph:
(+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX:
(+45) 35327907