zsh-workers
 help / color / mirror / code / Atom feed
From: Mads Martin Joergensen <mmj@suse.de>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: autoconf 2.5 (Re: PATCH: terminfo horor)
Date: Fri, 19 Dec 2003 13:41:42 +0100	[thread overview]
Message-ID: <20031219124142.GA20885@suse.de> (raw)
In-Reply-To: <15713.1071832451@csr.com>

* Peter Stephenson <pws@csr.com> [Dec 19. 2003 12:14]:
> > Ok, I've tweaked the buildenvironment to not having ncurses-devel, and
> > without it:
> > 
> > gcc  -s -rdynamic -o zsh main.o  `cat stamp-modobjs`   -ldl -lnsl -lm -lc
> > utils.o(.text+0x2aa9): In function `gettempname':
> > : the use of `mktemp' is dangerous, better use `mkstemp'
> > init.o(.text+0x1277): In function `init_term':
> > : undefined reference to `tgetent'
> 
> Is termcap still available?  I can't see it in the link line, which is
> suspicious.  What did configure say when it was looking for tgetent
> and tigetflag (from config.log)?

Well, termcap is available, but detection fails because termcap.h is in
/usr/include/termcap/termcap.h and the .so and .a libs are in
/usr/{lib,lib64}/termcap/

So the termcap.h test should use -I $INCLUDE/termcap and the
conftest programs should use -L $LIBDIR/termcap as well.

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.


  reply	other threads:[~2003-12-19 12:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 17:05 PATCH: terminfo horor Peter Stephenson
2003-12-18 18:52 ` Mads Martin Joergensen
2003-12-18 19:35   ` Peter Stephenson
2003-12-18 21:58     ` Mads Martin Joergensen
2003-12-19  8:59 ` autoconf 2.5 (Re: PATCH: terminfo horor) Oliver Kiddle
2003-12-19 11:14   ` Peter Stephenson
2003-12-19 12:41     ` Mads Martin Joergensen [this message]
2003-12-25 11:49 Borzenkov Andrey
2004-01-08 12:25 ` Oliver Kiddle
2004-01-08 13:15   ` Peter Stephenson
2003-12-25 12:17 Borzenkov Andrey
2004-01-05 12:34 ` Peter Stephenson
2004-01-08 15:20 Borzenkov Andrey
2004-01-08 16:11 ` Oliver Kiddle
2004-01-09  9:31 Borzenkov Andrey
2004-01-14 16:01 ` Oliver Kiddle
2004-01-14 16:24   ` Peter Stephenson
2004-01-15  8:36 Borzenkov Andrey

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=20031219124142.GA20885@suse.de \
    --to=mmj@suse.de \
    --cc=zsh-workers@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).