From: <kynn@panix.com>
To: zsh-users@sunsite.dk
Subject: Build errors
Date: Tue, 16 Nov 2004 08:57:43 -0500 (EST) [thread overview]
Message-ID: <200411161357.iAGDvhJ28897@panix3.panix.com> (raw)
I want to be able to do
autoload colors zsh/terminfo
in a script, but my ISP does not support the zsh terminfo module, so I
tried compiling zsh from source. After running ./configure I modified
the link parameter terminfo line in config.modules from
name=zsh/terminfo modfile=Src/Modules/terminfo.mdd link=static auto=yes load=yes
to
name=zsh/terminfo modfile=Src/Modules/terminfo.mdd link=dynamic auto=yes load=yes
My goal was to put the compiled terminfo.so file in my $HOME/.zmodules
directory, and add this directory to my modules_path variable. (Then
I would discard the rest of my compiled zsh, and use the zsh provided
by my ISP in /usr/local/bin.)
When I ran make, it tripped on terminfo:
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 symbol
../../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
Stop.
There seems to be some conflict with the local system's curses.h file.
Is there any way I can fix this?
Here are some system details:
% uname -ar
NetBSD my_isp3.my_isp.com 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (MY_ISP-USER) #0: Thu Feb 26 14:11:15 EST 2004 root@some_host.my_isp.com:/devel/NO-BACKUPS/release-1.5-20020917/src/sys/arch/i386/compile/MY_ISP-USER i386
Thanks!
k
PS: Please Cc: me in your replies
next reply other threads:[~2004-11-16 13:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-16 13:57 kynn [this message]
2004-11-17 14:21 ` Stephane Chazelas
2004-11-17 14:55 ` Peter Stephenson
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=200411161357.iAGDvhJ28897@panix3.panix.com \
--to=kynn@panix.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).