GNU bug report logs - #10677
24.0.93; missing pathmax.h on Solaris

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Tue, 31 Jan 2012 07:18:02 UTC

Severity: normal

Found in version 24.0.93

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 10677 <at> debbugs.gnu.org (full text, mbox):

From: Chris Leyon <cleyon <at> gmail.com>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 10677 <at> debbugs.gnu.org
Subject: Re: bug#10677: [Chris Leyon] Re: bug#10677: 24.0.93; missing
	pathmax.h on Solaris
Date: Fri, 2 Mar 2012 17:34:09 -0500
[Message part 1 (text/plain, inline)]
On Mon, Feb 27, 2012 at 04:05, Chong Yidong <cyd <at> gnu.org> wrote:
> Hi Chris,
> Could you check if the latest pretest at
> ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.0.94.tar.gz
> still has the same problem?  Thanks.

Yes, 24.0.94 still exhibits the same problem.  I have looked more
closely into the output of configure (attached as
typescript.configure.gz and config.log.gz).  It appears to me that the
problem has to do with (n)curses: when configure is attempting to
determine which library contains tputs(3), it decides on ncurses (see
config.log:8457, configure:14331).  If you notice, the -lncurses
sticks around on various gcc lines for the rest of the configure run.

However on my system, what apparently happens is that gcc can
successfully compile a program with -lncurses but when the loader
attempts to actually run such an executable, ld.so is not able to open
the libncurses.so object and crashes.  See config.log:8655 for the
first instance of this, but it occurs many other times following.

It seems that some times configure compiles a test program (conftest)
with -lncurses and other times it omits this library.  Some times
configure merely checks the return status of gcc, and other times it
actually tries to run conftest, which may or may not fail.  Thus I get
a really screwed up configuration, and this crashing of conftest
results in "unknown" bit sizes.

FYI, Emacs 23 does not try to use ncurses, it links to
/usr/lib/libcurses.so.1, as demonstrated in the ldd.emacs23.gz
attachment.  Just in case something had changed in my libraries
recently, I configured and compiled a vanilla 23.3 Emacs....  It
configured, compiled, and runs just fine.

Chris
[typescript.configure.gz (application/x-gzip, attachment)]
[config.log.gz (application/x-gzip, attachment)]
[ldd.emacs23.gz (application/x-gzip, attachment)]

This bug report was last modified 13 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.