[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: readline, termcap, ncurses
- From: lua@...
- Date: Wed, 10 Nov 2010 20:53:53 +0100
* On 2010-11-10 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote :
> For Linux, the Makefile in 5.1 used
> -lreadline -lhistory -lncurses
>
> In 5.2 it is now
> -lreadline -lncurses
> but many current Linux (e.g. Ubuntu) do not need any additional library
> to use readline. This is the case with Mac OS X as well. Some Linux
> (e.g. CentOS 5.5) need -ltermcap and don't have -lncurses. (Perhaps it's
> just the one CentOS I have access to.)
>
> I've tried to find out what is the official way to use readline but failed:
> readline seems to work with either -lncurses or -ltermcap.
I'm just a debian-guy, so this might be nonsense for other flavours, but
is libreadline itself not linked to its appropriate dependencies, so
that -lreadline should be enough to bring in any other required
libraries automatically?
--
:wq
^X^Cy^K^X^C^C^C^C