Thanks very much to Prof. Dalgaard. The problem was missing ncurses and ncurses-devel. After installing those, configure now finds readline properly.
Cheers, Andy > -----Original Message----- > From: Peter Dalgaard BSA [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 5:44 PM > To: Liaw, Andy > Cc: '[EMAIL PROTECTED]' > Subject: Re: [R] configure can't get readline to work > > > "Liaw, Andy" <[EMAIL PROTECTED]> writes: > > > Dear R-help, > > > > I'm running into some strange problem compiling R 1.6.2 on > Mandrake Linux > > 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 > defective? I've tried > > re-installing readline (and readline-devel) version 4.3-4, > to no avail. Can > > 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 > ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: > (+45) 35327907 > ------------------------------------------------------------------------------ ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
