GNU bug report logs -
#9736
Configure error for emacs-24.0.90 with AIX 5.3
Previous Next
Reported by: Perry Smith <pedzsan <at> gmail.com>
Date: Wed, 12 Oct 2011 13:20:02 UTC
Severity: normal
Fixed in version 24.0.91
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9736 in the body.
You can then email your comments to 9736 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 13:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Perry Smith <pedzsan <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 12 Oct 2011 13:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The command I used was (I'm doing an out of tree build)
../../src/emacs-24.0.90/configure --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no
The last few lines printed are:
...
> checking for getpt... no
> checking for library containing tputs... no
> configure: error: I couldn't find termcap functions (tputs and friends).
> Maybe some development libraries/packages are missing? Try installing
> libncurses-dev(el), libterminfo-dev(el) or similar.
The config.log file is attached:
I'm happy to help out anyway I can.
Thank you,
pedz
[Message part 2 (text/html, inline)]
[config.log (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 16:35:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 9736 <at> debbugs.gnu.org (full text, mbox):
The error message says:
I couldn't find termcap functions (tputs and friends). Maybe some
development libraries/packages are missing? Try installing
libncurses-dev(el), libterminfo-dev(el) or similar.
(I think the wording could be improved a bit.)
configure checks for the tputs function in any of libncurses,
libterminfo, and libtermcap. Your system does not seem to have any of
them:
collect2: library libncurses not found
collect2: library libterminfo not found
collect2: library libtermcap not found
Please try either installing one of these libraries and its header
files, or if they are already installed explicitly telling configure
where they are; eg:
CFLAGS=-I/path/to/terminfo/include LDFLAGS=-L/path/to/terminfo/lib ./configure
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 17:42:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> The error message says:
>
> I couldn't find termcap functions (tputs and friends). Maybe some
> development libraries/packages are missing? Try installing
> libncurses-dev(el), libterminfo-dev(el) or similar.
>
> (I think the wording could be improved a bit.)
>
> configure checks for the tputs function in any of libncurses,
> libterminfo, and libtermcap. Your system does not seem to have any of
> them:
>
> collect2: library libncurses not found
> collect2: library libterminfo not found
> collect2: library libtermcap not found
>
> Please try either installing one of these libraries and its header
> files, or if they are already installed explicitly telling configure
> where they are; eg:
>
> CFLAGS=-I/path/to/terminfo/include LDFLAGS=-L/path/to/terminfo/lib ./configure
I think the configure test is incorrect.
For example on Solaris this would find libtermcap, where previous emacs
version would use libcurses, which would be the better option.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 17:48:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Dan Nicolaescu wrote:
> I think the configure test is incorrect.
> For example on Solaris this would find libtermcap, where previous emacs
> version would use libcurses, which would be the better option.
The current test is due to
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5735
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 17:50:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 9736 <at> debbugs.gnu.org (full text, mbox):
PS I've always thought there was something weird here with the way
HAVE_LIBNCURSES can be defined even if you don't have libncurses.
(Maybe the define is just badly named.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 18:11:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Dan Nicolaescu wrote:
> I think the configure test is incorrect.
> For example on Solaris this would find libtermcap, where previous emacs
> version would use libcurses, which would be the better option.
PPS are you sure this is an issue, because later on we see:
case "$opsys" in
aix4-2|cygwin|hpux*|irix6-5|openbsd|sol2*|unixware) TERMINFO=yes ;;
[...]
esac
[...]
if test $TERMINFO = yes; then
[...]
test "x$LIBS_TERMCAP" = "x" && LIBS_TERMCAP="-lcurses"
[...]
fi
As a test, I built 24.0.90 on Solaris and indeed it linked to libcurses
and not libtermcap.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 18:18:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris wrote:
> As a test, I built 24.0.90 on Solaris and indeed it linked to libcurses
> and not libtermcap.
In fact on the machine where I tested, it turns out that libtermcap.so
is just a symlink to libcurses.so.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 18:38:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Glenn Morris wrote:
>
>> As a test, I built 24.0.90 on Solaris and indeed it linked to libcurses
>> and not libtermcap.
>
> In fact on the machine where I tested, it turns out that libtermcap.so
> is just a symlink to libcurses.so.
Is that the same on AIX?
Where is tputs on that platform?
If it's in libcurses, then the autoconf test would fail...
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 18:54:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Dan Nicolaescu wrote:
> Is that the same on AIX?
> Where is tputs on that platform?
> If it's in libcurses, then the autoconf test would fail...
So perhaps libcurses should be added to the list of places that is
searched for tputs.
Whee, on RHEL6 libcurses.so is just a text file containing INPUT(-lncurses).
:)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 19:08:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 9736 <at> debbugs.gnu.org (full text, mbox):
Perry, please can you try changing line 14364 of 24.0.90's configure
script so that it reads:
for ac_lib in '' ncurses terminfo termcap curses; do
and see if that helps? (I assume you are using a pretest tarfile with a
prebuilt configure rather than generating it from configure.in with
autoconf. If the latter, change line 2774 of configure.in.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9736
; Package
emacs
.
(Wed, 12 Oct 2011 20:20:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 9736 <at> debbugs.gnu.org (full text, mbox):
On Oct 12, 2011, at 2:07 PM, Glenn Morris wrote:
>
> Perry, please can you try changing line 14364 of 24.0.90's configure
> script so that it reads:
>
> for ac_lib in '' ncurses terminfo termcap curses; do
>
> and see if that helps? (I assume you are using a pretest tarfile with a
> prebuilt configure rather than generating it from configure.in with
> autoconf. If the latter, change line 2774 of configure.in.)
That worked.
AIX has its tputs in libcurses. AIX also has a libtermcap that is suppose to be compatible but most systems don't install it and I would try avoid using it. You might consider moving curses in front of termcap.
Thanks for the help. I'll try and do the make and see where that lands me.
pedz
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Thu, 13 Oct 2011 02:20:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Perry Smith <pedzsan <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 13 Oct 2011 02:20:03 GMT)
Full text and
rfc822 format available.
Message #40 received at 9736-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.0.91
Perry Smith wrote:
> That worked.
Thanks, installed.
> AIX has its tputs in libcurses. AIX also has a libtermcap that is
> suppose to be compatible but most systems don't install it and I would
> try avoid using it. You might consider moving curses in front of
> termcap.
For now, I left curses at the end of the list, since that is the most
conservative change.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 10 Nov 2011 12:24:03 GMT)
Full text and
rfc822 format available.
Added tag(s) fixed.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Tue, 31 Oct 2017 12:09:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 45 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.