Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Build errors
- X-seq: zsh-users 8226
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Build errors
- Date: Wed, 17 Nov 2004 14:55:49 +0000
- In-reply-to: <20041117142122.GA5295@sc>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200411161357.iAGDvhJ28897@xxxxxxxxxxxxxxxx> <20041117142122.GA5295@sc>
Stephane Chazelas wrote:
> On Tue, Nov 16, 2004 at 08:57:43AM -0500, kynn@xxxxxxxxx wrote:
> [...]
> > gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2 -fPIC
> -o terminfo..o terminfo.c
> > In file included from terminfo.c:53:
> > /usr/include/curses.h:452: `underscore' redeclared as different kind of s
> ymbol
> > ../../Src/init.epro:6: previous declaration of `underscore'
> > terminfo.c: In function `bin_echoti':
> > terminfo.c:78: warning: implicit declaration of function `tigetnum'
> > terminfo.c:83: warning: implicit declaration of function `tigetflag'
> > terminfo.c:95: warning: implicit declaration of function `tigetstr'
> > terminfo.c:121: warning: implicit declaration of function `putp'
> > terminfo.c:123: warning: implicit declaration of function `tparm'
> > terminfo.c: In function `boot_':
> > terminfo.c:385: warning: implicit declaration of function `setupterm'
> > *** Error code 1
> [...]
>
> You may actually need ncurses for the terminfo module to work.
>
> But zsh configure may not be accurate enough in its searching of
> supported libraries. It shouldn't have selected "curses" here as
> it has no support for "tigetstr..."
I suspect the library, as opposed to the header, actually does. The
rule in terminfo.mdd is that the file is only compiled if
tigetflag is found; it doesn't bother checking for all the
tiget... functions since either all or none should be available. This
suggests it's only the header that's defective, or at least not what the
configuration is assuming. This changed in 4.2; before that the tests
were a bit more hit and miss.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author