zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk
Subject: Re: Build errors
Date: Wed, 17 Nov 2004 14:55:49 +0000	[thread overview]
Message-ID: <200411171455.iAHEtoID008394@news01.csr.com> (raw)
In-Reply-To: <20041117142122.GA5295@sc>

Stephane Chazelas wrote:
> On Tue, Nov 16, 2004 at 08:57:43AM -0500, kynn@panix.com 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@csr.com>                  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.
**********************************************************************


      reply	other threads:[~2004-11-17 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16 13:57 kynn
2004-11-17 14:21 ` Stephane Chazelas
2004-11-17 14:55   ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411171455.iAHEtoID008394@news01.csr.com \
    --to=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).