<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Build failure on Slackware 14.1 (./configure rejects libreadline.so)"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=916#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Build failure on Slackware 14.1 (./configure rejects libreadline.so)"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=916">bug 916</a>
from <span class="vcard"><a class="email" href="mailto:duncan_roe@acslink.net.au" title="duncan_roe@acslink.net.au">duncan_roe@acslink.net.au</a>
</span></b>
<pre>I still see
checking for readline in -lreadline... no
configure: error: No suitable version of libreadline found
Just to be clear, I ran ./autogen.sh as Pablo Neira Ayuso advised in <a href="show_bug.cgi?id=916#c3">Comment 3</a>.
After that, there was no console output from autoconfig.
I ran libtoolize --force as Piyush Pangtey advised in <a href="show_bug.cgi?id=916#c5">comment 5</a>.
The last line output by libtoolize is:
libtoolize: Remember to add `LT_INIT' to configure.ac.
so I did that:
00:03:12$ git diff
diff --git a/configure.ac b/configure.ac
index 0d7e6ed..e76e646 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
+LT_INIT
AC_PREREQ(2.61)
(END)
If I apply patch_-p0_file (needs fuzz factor 3 now) it all works:
00:25:16$ git checkout -- configure.ac
00:27:14$ cat configure.ac.patch|patch -F 3 -p0
patching file configure.ac
Hunk #1 succeeded at 71 with fuzz 3.
00:27:35$ autoconf
00:27:47$ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/man
--disable-debug
checking build system type... i686-pc-linux-gnu
<SNIP>
nft configuration:
cli support: yes
enable debugging: no
use mini-gmp: no
00:27:57$ git diff
diff --git a/configure.ac b/configure.ac
index 0d7e6ed..901c971 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,9 @@ AM_CONDITIONAL([BUILD_PDF], [test "$DBLATEX" == "found"])
# Checks for libraries.
PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
+AC_CHECK_LIB([ncurses], [tputs], ,
+ AC_MSG_ERROR([No suitable version of libncurses found]))
+
PKG_CHECK_MODULES([LIBNFTNL], [libnftnl >= 1.0.5])
AC_ARG_WITH([mini-gmp], [AS_HELP_STRING([--with-mini-gmp],
00:33:15$</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>