[ntp:bugs] [Bug 764] New: libreadline undetected

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Mon Jan 22 15:42:12 PST 2007


http://bugs.ntp.isc.org/764

           Summary: libreadline undetected
           Product: ntp
           Version: 4.2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: - other
        AssignedTo: stenn at ntp.org
        ReportedBy: alguibert+bni at free.fr
                CC: bugs at ntp.isc.org


Hello,

I have the readline-5.2 library installed, but it is not used by ntpq
nor ntpdc in NTP 4.2.4 stable version. The ./configure checks:

| checking readline/history.h usability... yes
| checking readline/history.h presence... yes
| checking for readline/history.h... yes
| checking readline/readline.h usability... yes
| checking readline/readline.h presence... yes
| checking for readline/readline.h... yes
| checking for readline in -lreadline... no
| configure: Trying again with -lcurses
| checking for readline in -lreadline... no
| checking for readline in -ledit... no

And ldd on the built ntpq and ntpdc doesn't show libreadline, while both
their prompts have no readline feature.

However it seems that readline would accept to work here with
"-lreadline -lncurses" parameters. Example GnuPG 1.4.5 ./configure
checks:

| checking whether readline via "-lreadline" is present and sane... no
| checking whether readline via "-lreadline -ltermcap" is present and sane... no
| checking whether readline via "-lreadline -lcurses" is present and sane... no
| checking whether readline via "-lreadline -lncurses" is present and sane... 
yes

And the compiled gpg benefits from readline functions, confirmed by ldd.
Would it be possible for NTP to also check ncurses?

Alain.

-- 
Alain Guibert <alguibert+bni at free.fr>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the bugs mailing list