Vitezslav Samel <vitezslav(a)samel.cz> writes:
On Mon, May 21, 2012 at 04:38:24PM +0200, Nikola Pajkovsky wrote:
> now iptraf-ng is able to build against any ncurses library.
> By default, iptraf-ng is built with ncurses5 lib. If you want to override
> it, use of the commands:
>
> $ make NEEDS_NCURSESW5=YesPlease
> $ make NEEDS_NCURSES6=YesPlease
> $ make NEEDS_NCURSESW6=YesPlease
With this you loose automatic detection of available ncurses lib.
If you have only ncurses6, you need to edit Makefile or pass some
variable to make. I don't like this.
I give you an example, why autodetection won't be working across all
distribution and needs some manual work.
Debian has always installed ncurses-bin, which contains
'ncurses5-config'. That means, if you firstly try check
ncurses5-config availability, you will succeed even though you don't
have devel package installed. Tough cookie.
--
Nikola