zsh-users
 help / color / mirror / code / Atom feed
* Build errors
@ 2004-11-16 13:57 kynn
  2004-11-17 14:21 ` Stephane Chazelas
  0 siblings, 1 reply; 3+ messages in thread
From: kynn @ 2004-11-16 13:57 UTC (permalink / raw)
  To: zsh-users





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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-17 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-16 13:57 Build errors kynn
2004-11-17 14:21 ` Stephane Chazelas
2004-11-17 14:55   ` Peter Stephenson

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).