[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    bug#112: marked as done (mutt-1.2i: Configure making wrong decisions)
From:       bugmaster () guug ! de (GUUG bug Tracking System)
Date:       2001-05-29 14:18:05
[Download RAW message or body]

Your message dated Tue, 29 May 2001 10:05:27 -0400
with message-id <20010529100527.C431@xanadu.kublai.com>
and subject line fixed
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 10 May 2000 21:51:55 +0000
From jpr@jpr.com  Wed May 10 23:51:54 2000
Received: from jpr.com (jpr.com [198.207.210.2])
	by sigtrap.guug.de (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA00915
	for <submit@bugs.guug.de>; Wed, 10 May 2000 23:51:54 +0200
Received: from localhost (2638 bytes) by jpr.com
	via sendmail with P:stdio/R:inet_hosts/T:smtp
	(sender: <jpr>) (ident <jpr> using unix)
	id <m12peOW-000JXSC@jpr.com>
	for <submit@bugs.guug.de>; Wed, 10 May 2000 17:51:52 -0400 (EDT)
	(Smail-3.2.0.111 2000-Feb-17 #3 built 2000-26-avr)
Message-Id: <m12peOW-000JXSC@jpr.com>
Date: Wed, 10 May 2000 17:51:52 -0400 (EDT)
From: jpr@jpr.com (Jean-Pierre Radley)
Subject: mutt-1.2i: Configure making wrong decisions
To: submit@bugs.guug.de

Package: mutt
Version: 1.2i
Severity: normal

-- Please type your report below this line

SCO OpenServer 5.0.5.
SCO's UDK (Universal Development Kit) creates binaries that can run on
OSR 5 itself or on UnixWare 7 or Unixware 2.

To this end, there's a /udk directory, leading eventually to /udk/usr/ccs
with bin. lib, and include subdirectories.

I built a UDK-aware gcc compiler from the gcc-2.95.2 source tree. It
lives in /usr/local/udk/bin, so I put that directory first in my PATH.

Configure properly used /usr/local/udk/bin/gcc, but it inserted a bogus 
-L/usr/ccs/lib directive in the Makefile.

Adding -L/usr/ccs/lib to the link line makes essentially _all_ the
autoconf HAVE_ brothers fail; my compiler is going down because it
thinks I don't have things like memcpy or strerror, which I certainly do.

Running 'configure --includedir=/udk/usr/ccs/include' helped. This time
it put
	LDFLAGS=-L/udk/usr/ccs/include -L/usr/ccs/include
in the Makefile.  The first -L item is correct; the second is not still
not wanted.

I removed it, and compiled just fine.

This section of configure.in is trying too hard.

     AC_CHECK_LIB(ncurses, initscr,

             [MUTTLIBS="$MUTTLIBS -lncurses"
             if test x$mutt_cv_curses = x/usr -a -d /usr/include/ncurses; then
                        CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
             fi
             AC_CHECK_HEADERS(ncurses.h)],

             [MUTTLIBS="$MUTTLIBS -lcurses"
             if test -f /usr/ccs/lib/libcurses.a; then
HERE->                    LDFLAGS="$LDFLAGS -L/usr/ccs/lib"
             else
                     if test -f /usr/5lib/libcurses.a; then
                             LDFLAGS="$LDFLAGS -L/usr/5lib"
                             CPPFLAGS="$CPPFLAGS -I/usr/5include"
                     fi
             fi])


This should call AC_CHECK_LIB(curses, initscr) instead of manually
divining library paths.  With this udk-aware gcc compiler, I'd be using
/udk/usr/ccs/lib/libcurses.a; the existence of /usr/ccs/lib/libcurses.a
is not relevant.


-- Mutt Version Information

Mutt 1.2i (2000-05-09)

System: SCO 3.2
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/lib/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/local/bin/ispell"

---------------------------------------
Received: (at 112-done) by bugs.guug.de; 29 May 2001 14:06:15 +0000
From brendan@kublai.com Tue May 29 16:06:15 2001
Received: from xanadu.kublai.com ([166.84.169.10])
	by trithemius.gnupg.org with esmtp (Exim 3.12 #1 (Debian))
	id 154k8V-000520-00
	for <112-done@bugs.guug.de>; Tue, 29 May 2001 16:06:15 +0200
Received: by xanadu.kublai.com (Postfix, from userid 1000)
	id 07CED3D48; Tue, 29 May 2001 10:05:28 -0400 (EDT)
Date: Tue, 29 May 2001 10:05:27 -0400
From: Brendan Cully <brendan@kublai.com>
To: 112-done@bugs.guug.de
Subject: fixed
Message-ID: <20010529100527.C431@xanadu.kublai.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
X-Operating-System: Linux 2.4.5 i686

These extra checks have disappeared from current configure.in

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic