Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2000:
[Freeciv-Dev] Re: Readline doesn't work under RH7

[Freeciv-Dev] Re: Readline doesn't work under RH7

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Tuomas Airaksinen <tuma@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Readline doesn't work under RH7
From: Thue <thue@xxxxxxx>
Date: Thu, 2 Nov 2000 11:25:26 +0100
Reply-to: thue@xxxxxxx

On Sun, 29 Oct 2000 11:21:36 Tuomas Airaksinen wrote:
> It worked until I installed Redhat 7.0. But no more. 
> I have readline and readline-devel packages installed, but
> Freeciv doesn't compile with readline support. 
> checking for gethostbyname... (cached) yes
> checking for connect... (cached) yes
> checking for rl_callback_handler_install in -lreadline... (cached) no
> configure: error: Specified --with-readline but did not find library.
> In config.log, there have not been written anything special for that.
> [tuma@paaskyniemi /tuma]$ locate libreadline
> /usr/lib/
> /usr/lib/
> /usr/lib/libreadline.a
> /usr/lib/
> Hmm... What's wrong?
> Readline version is 4.1.

Readline depends on libncurses. Try doing

bash-2.04$ ldd /usr/lib/ => /lib/ (0x40030000) => /lib/ (0x4006e000)
        /lib/ => /lib/ (0x80000000)

If ldd doesn't show to require libncurses, the test linking
./configure does will fail. It is a bug in RH7 I guess.
I you really want to compile with readline support then edit to
not test for readline and add -lncurses to the server link libs.


[Prev in Thread] Current Thread [Next in Thread]