[Freeciv-Dev] Re: readline 4.2
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Tuesday 10 April 2001 15:06 skrev Thue:
> On Tuesday 10 April 2001 14:56, Thue wrote:
> > On Tuesday 10 April 2001 14:49, Erik Sigra wrote:
> > > Just let Freeciv depend on readline-4.2 or higher for readline
> > > functionality. It is generally better style for a program to require
> > > current libraries than legacy libraries.
>
> On second thought, that would probably be best. Ok with everyone?
> It could be done by checking for the rl_completion_matches() function.
I still have readline problems. Configure doesn't find it and if I modify
configure.in and run autoconf the compile ends with:
gcc -g -Wall -o civserver civserver.o ../common/libcivcommon.a
../ai/libcivai.a ./libcivserver.a ../common/libcivcommon.a ../ai/libcivai.a
./libcivserver.a -lreadline -lz
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [civserver] Error 1
make[2]: Leaving directory `/home/work/sourcecode/cvs/freeciv/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/work/sourcecode/cvs/freeciv'
make: *** [all-recursive-am] Error 2
Some info:
% ldd /usr/local/lib/libreadline.so
libc.so.6 => /lib/libc.so.6 (0x40031000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
% ldd /usr/local/lib/libhistory.so
libc.so.6 => /lib/libc.so.6 (0x40011000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
First few lines of readline-4.2/config.status:
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host a77:
#
# ./configure --with-curses --enable-debug
- [Freeciv-Dev] readline 4.2, Thue, 2001/04/10
- [Freeciv-Dev] Re: readline 4.2, Thue, 2001/04/10
- [Freeciv-Dev] Re: readline 4.2, Erik Sigra, 2001/04/10
- [Freeciv-Dev] Re: readline 4.2, Thue, 2001/04/10
- [Freeciv-Dev] Re: readline 4.2, Thue, 2001/04/10
- [Freeciv-Dev] Re: readline 4.2,
Erik Sigra <=
- [Freeciv-Dev] Re: readline 4.2, Thue, 2001/04/29
- [Freeciv-Dev] Re: readline 4.2, Greg Wooledge, 2001/04/29
- [Freeciv-Dev] Re: readline 4.2, Erik Sigra, 2001/04/29
- [Freeciv-Dev] Re: readline 4.2, Thue, 2001/04/29
- [Freeciv-Dev] Re: readline 4.2, Erik Sigra, 2001/04/29
- [Freeciv-Dev] Re: readline 4.2, Greg Wooledge, 2001/04/29
- [Freeciv-Dev] Re: readline 4.2, Erik Sigra, 2001/04/30
- [Freeciv-Dev] Re: readline 4.2, Greg Wooledge, 2001/04/30
- [Freeciv-Dev] Re: readline 4.2, Erik Sigra, 2001/04/30
- [Freeciv-Dev] Re: readline 4.2, Gaute B Strokkenes, 2001/04/19
|
|