bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure bugs


From: Chet Ramey
Subject: Re: configure bugs
Date: Fri, 25 Mar 2022 10:07:47 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 3/25/22 5:57 AM, boris busic wrote:
1) if gcc with --sys-root is used ./configure fails with: "gcc cannot compile ..."  if the sys-root libc is a higher version than the host's

Isn't that a user build environment problem?

2) for any gcc that succeeds libreadline.so is built without lib(n)curses.so dependence which is mostly unimportant, but only mostly. It came to my attention when building fontconfig package which fails with "UP undeclared ..." or such.

Yes. Deciding which curses/termcap library to use is up to the application
using readline. Some distributions have built and distributed readline with
a dependency to their install path for ncurses; some have not.

There is a sample autoconf macro in the readline distribution
(examples/autoconf/BASH_CHECK_LIB_TERMCAP) that applications can use to
figure out the right curses library.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]