Re: mutt/2095: configure incorrectly builds Makefile for Solaris
The following reply was made to PR mutt/2095; it has been noted by GNATS.
From: Thomas Dickey <dickey@xxxxxxx>
To: Gary Quiring <gary@xxxxxxxxx>
Cc: bug-any@xxxxxxxxxxxxx, "'Mutt Developers'" <mutt-dev@xxxxxxxx>
Subject: RE: mutt/2095: configure incorrectly builds Makefile for Solaris
with ncurses
Date: Sun, 9 Oct 2005 08:57:49 -0400 (EDT)
On Sun, 9 Oct 2005, Gary Quiring wrote:
> I am not a developer so I do not know what to provide you. Enclosed are the
> configure and make outputs. Ncurses is located /usr/local/include. I have
> two Sun boxes both won't compile mutt 1.5. 1.4 release compiles fine.
iirc, 1.4 just tries to link with -lcurses, while 1.5.x tries to link with
-lncurses or -lncursesw
A normal install of ncurses 5.4 on Solaris puts ncurses' header files
in /usr/local/include/ncurses/, so mutt has to look for them in that
location. Quickly reading the configure.in file in 1.5.10, I notice that
it does not do this - it only looks for /usr/include/ncurses
The configure script does not have a way to tell what it's looking for.
I don't see much in configure.in that I would find useful without
rewriting it.
These symbols are undefined since they're defined by Solaris's curses.h
and Solaris' curses library:
> Undefined first referenced
> symbol in file
> initscr32 main.o
> w32addch curs_lib.o
> w32attron menu.o
> w32attrset compose.o
> acs32map menu.o
> getcurx curs_lib.o
> getcury curs_lib.o
> ld: fatal: Symbol referencing errors. No output written to mutt
> collect2: ld returned 1 exit status
> make[2]: *** [mutt] Error 1
> make[2]: Leaving directory `/u/local/src/mutt-1.5.10'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/u/local/src/mutt-1.5.10'
> make: *** [all] Error 2
>
>
>
> -----Original Message-----
> From: Thomas Dickey [mailto:dickey@xxxxxxx]
> Sent: Sunday, October 09, 2005 6:55 AM
> To: bug-any@xxxxxxxxxxxxx
> Cc: Mutt Developers; gquiring@xxxxxxxxx
> Subject: Re: mutt/2095: configure incorrectly builds Makefile for Solaris
> with ncurses
>
> On Sun, 9 Oct 2005, Brendan Cully wrote:
>
>> Synopsis: configure incorrectly builds Makefile for Solaris with ncurses
>>
>> **** Comment added by brendan on Sun, 09 Oct 2005 08:49:30 +0200 ****
>> There's not enough here for me to diagnose the problem or provide a
>> proper fix. It seems as though the ncurses install might be botched, or
>> something went wrong during configure. Can anyone else reproduce this
>> problem?
>
> As I read the report, it's stating that mutt's configure script does
> not handle the --disable-overwrite default for ncurses on Solaris.
> Since that's something that mutt's configure script should deal with,
> it seems that the problem is in mutt.
>
> --
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net
>
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net