[Slackbuilds-users] 'AC_CHECK_LIB([readline]' fails on 14.2

B Watson yalhcru at gmail.com
Sun Jan 28 02:58:22 UTC 2018


On 1/27/18, Nate Bargmann <n0nb at n0nb.us> wrote:

> I've had more experience in the Debian world, and I recognized that
> tputs probably had to do with terminfo but since Slackware uses termcap,
> I mentally stopped there.

Slackware uses both actually. Not really an optimal situation, but we've
got both /usr/share/terminfo and /etc/termcap. Also in /usr/include
there's both term.h and termcap.h.

Main difference I see is that in Slackware 14.2 and older, the terminfo
functions are included in libncurses... and in Debian (and Slack-current)
they're split out into libtinfo, which is "the new way". I've never been
sure why it's "better". I've had to hack up some Makefiles to get rid
of references to -ltinfo to get them to work on 14.2.

> That will be far more elegant than the solution I arrived at which was
> to patch configure.ac and Makefile.am, make an m4 directory and copy the
> ax_lib_readline.m4 into the m4 directory, and rerun autoreconf -f -i
> which did actually work!  Passing LIBS this way is much better.

Ouch, yeah, that's more autoconf twiddling than I could stand. Congrats
on your persistence.


More information about the SlackBuilds-users mailing list