All of lore.kernel.org
 help / color / mirror / Atom feed
* libreadline not found by configure [was Re: [ANNOUNCE] nftables 0.3
@ 2014-06-30 11:22 Pablo Neira Ayuso
  2014-07-01  1:40 ` Robby Workman
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Neira Ayuso @ 2014-06-30 11:22 UTC (permalink / raw)
  To: Robby Workman; +Cc: netfilter-devel

release]
Reply-To: 
In-Reply-To: <20140627124236.793bc975.robby@rlworkman.net>

Hi Robby,

On Fri, Jun 27, 2014 at 12:42:36PM -0500, Robby Workman wrote:
> Hi Pablo,
> 
> I get this error after configure:
> 
>   checking for readline in -lreadline... no
>   configure: error: No suitable version of libreadline found
> 
> It appears that you're depending on distro-specific enhancements to
> readline, specifically that Fedora explicitly links libtinfo, Arch
> explicitly links ncurses, etcetera, while according to upstream
> readline, this should not occur -- from INSTALL file in readline:
> 
> The readline `configure' recognizes a single `--with-PACKAGE' option:
> 
> `--with-curses'
>     This tells readline that it can find the termcap library functions
>     (tgetent, et al.) in the curses library, rather than a separate
>     termcap library.  Readline uses the termcap functions, but does not
>     link with the termcap or curses library itself, allowing applications
>     which link with readline the to choose an appropriate library.
>     This option tells readline to link the example programs with the
>     curses library rather than libtermcap.
> 
> I think this will be useful:
> https://www.gnu.org/software/autoconf-archive/ax_lib_readline.html

Thanks for the detailed report.

Would you send us a patch that you can test in your fedora setup? I
would appreciate it. Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libreadline not found by configure [was Re: [ANNOUNCE] nftables 0.3
  2014-06-30 11:22 libreadline not found by configure [was Re: [ANNOUNCE] nftables 0.3 Pablo Neira Ayuso
@ 2014-07-01  1:40 ` Robby Workman
  0 siblings, 0 replies; 2+ messages in thread
From: Robby Workman @ 2014-07-01  1:40 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

On Mon, 30 Jun 2014 13:22:19 +0200
Pablo Neira Ayuso <pablo@netfilter.org> wrote:

> release]
> Reply-To: 
> In-Reply-To: <20140627124236.793bc975.robby@rlworkman.net>
> 
> Hi Robby,
> 
> On Fri, Jun 27, 2014 at 12:42:36PM -0500, Robby Workman wrote:
> > Hi Pablo,
> > 
> > I get this error after configure:
> > 
> >   checking for readline in -lreadline... no
> >   configure: error: No suitable version of libreadline found
> > 
> > It appears that you're depending on distro-specific enhancements to
> > readline, specifically that Fedora explicitly links libtinfo, Arch
> > explicitly links ncurses, etcetera, while according to upstream
> > readline, this should not occur -- from INSTALL file in readline:
> > 
> > The readline `configure' recognizes a single `--with-PACKAGE'
> > option:
> > 
> > `--with-curses'
> >     This tells readline that it can find the termcap library
> > functions (tgetent, et al.) in the curses library, rather than a
> > separate termcap library.  Readline uses the termcap functions, but
> > does not link with the termcap or curses library itself, allowing
> > applications which link with readline the to choose an appropriate
> > library. This option tells readline to link the example programs
> > with the curses library rather than libtermcap.
> > 
> > I think this will be useful:
> > https://www.gnu.org/software/autoconf-archive/ax_lib_readline.html
> 
> Thanks for the detailed report.
> 
> Would you send us a patch that you can test in your fedora setup? I
> would appreciate it. Thanks.


I don't have a fedora setup, and unfortunately, I'm not comfortable
enough with coding to do that anyway...

Here's what NetworkManager did for the same problem:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=29297f8531e24d4df616c5c3acace9e23a695a02

-RW

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-01  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30 11:22 libreadline not found by configure [was Re: [ANNOUNCE] nftables 0.3 Pablo Neira Ayuso
2014-07-01  1:40 ` Robby Workman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.