[R] readline not found
Laurent Faisnel
laurent.faisnel at ariase.com
Tue Nov 18 19:06:40 CET 2003
The problem is solved.
I cc this mail to John who probably had the same kind of problem.
Peter Dalgaard wrote:
> Laurent Faisnel <laurent.faisnel at ariase.com> writes:
>
That's the part of the log where you have the debug information (at the
top) :
>
>>configure:11773: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c
>>-lreadline -ldl -lm >&5
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `tgetnum'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `tgoto'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `tgetflag'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `BC'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `tputs'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `PC'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `tgetent'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `UP'
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libreadline.so:
>>undefined reference to `tgetstr'
>
>
> Oho... I think those routines are from libncurses,
I'm very impressed by your intuition (or memory). That's exactly where
the problem was.
> so you might be
> needing
>
> ncurses-5.2-28
I already had this one installed. Not sufficient.
> ncurses-devel-5.2-28
But not this one. Once it is installed, evrything works fine and I have
a readline-enabled R version.
>
> (not sure you really need the last one, but...)
>
It's really needed.
More info : http://dbforums.com/arch/147/2002/12/608415 (exactly the same)
Peter : Thanks a lot.
John : Hope it's a solution to your problem too.
- Laurent
More information about the R-help
mailing list