* zsh-4.0.5 can't compile on hpux 10.20 @ 2002-08-14 16:18 Gansser, Martin 2002-08-14 16:39 ` Peter Stephenson 0 siblings, 1 reply; 3+ messages in thread From: Gansser, Martin @ 2002-08-14 16:18 UTC (permalink / raw) To: zsh-workers Hi, I tried to compile zsh-4.0.5 on my hpux 10.20 box, but I get the following error message: gcc -c -I. -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2 -o watch.o watch.c echo '' builtin.o compat.o cond.o exec.o glob.o hashtable.o hist.o init.o input.o jobs.o lex.o linkl ist.o loop.o math.o mem.o module.o options.o params.o parse.o pattern.o prompt.o signals.o signames. o string.o subst.o text.o utils.o watch.o >> ../Src/stamp-modobjs.tmp gmake[3]: Entering directory `/users/mgansser/GNU/zsh-4.0.5/Src/Modules' gcc -c -I. -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2 -o termcap.o termcap.c In file included from termcap.c:61: /usr/include/term.h:535: parse error before `SGTTY' /usr/include/term.h:535: warning: no semicolon at end of struct or union /usr/include/term.h:536: warning: data definition has no type or storage class /usr/include/term.h:549: parse error before `}' termcap.c: In function `ztgetflag': termcap.c:88: warning: implicit declaration of function `tgetflag' termcap.c: In function `bin_echotc': termcap.c:117: warning: implicit declaration of function `tgetnum' termcap.c:134: warning: implicit declaration of function `tgetstr' termcap.c:134: warning: assignment makes pointer from integer without a cast termcap.c:155: warning: implicit declaration of function `tputs' termcap.c:158: warning: implicit declaration of function `tgoto' termcap.c: In function `gettermcap': termcap.c:270: warning: assignment makes pointer from integer without a cast termcap.c: In function `boot_zshQstermcap': termcap.c:397: warning: implicit declaration of function `setupterm' gmake[3]: *** [termcap.o] Error 1 gmake[3]: Leaving directory `/users/mgansser/GNU/zsh-4.0.5/Src/Modules' gmake[2]: *** [modobjs] Error 1 gmake[2]: Leaving directory `/users/mgansser/GNU/zsh-4.0.5/Src' gmake[1]: *** [modobjs] Error 2 gmake[1]: Leaving directory `/users/mgansser/GNU/zsh-4.0.5/Src' gmake: *** [all] Error 1 Compiler: gcc-2.95.3 any help? Thanks Martin ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: zsh-4.0.5 can't compile on hpux 10.20 2002-08-14 16:18 zsh-4.0.5 can't compile on hpux 10.20 Gansser, Martin @ 2002-08-14 16:39 ` Peter Stephenson 2002-08-15 19:37 ` termcap/terminfo removal (was zsh-4.0.5 can't compile on hpux 10.20) Danek Duvall 0 siblings, 1 reply; 3+ messages in thread From: Peter Stephenson @ 2002-08-14 16:39 UTC (permalink / raw) To: Gansser, Martin, Zsh hackers list "Gansser, Martin" wrote: > Hi, > > I tried to compile zsh-4.0.5 on my hpux 10.20 box, but I get the > following error message: > > In file included from termcap.c:61: > /usr/include/term.h:535: parse error before `SGTTY' > /usr/include/term.h:535: warning: no semicolon at end of struct or = > union > /usr/include/term.h:536: warning: data definition has no type or = > storage class > /usr/include/term.h:549: parse error before `}' Looks like one of the system definitions is going haywire, causing the wrong branch of an #if to be used in term.h. It's virtually impossible to debug without examining the files and definitions in detail. The easiest think to do is simply not compile the termcap module, which isn't that important. Edit the line in config.modules in the top of the build hierarchy: name=zsh/termcap modfile=Src/Modules/termcap.mdd link=dynamic auto=yes load=yes to change `link=dynamic auto=yes' to `link=no auto=no'. If it turns out to be nccessary, do the same to the corresponding line for the terminfo module. I'm seriously considering omitting the termcap and terminfo modules from the 4.0 line, they've caused no end of grief for fairly minor features. -- Peter Stephenson <pws@csr.com> Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, 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. ********************************************************************** ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: termcap/terminfo removal (was zsh-4.0.5 can't compile on hpux 10.20) 2002-08-14 16:39 ` Peter Stephenson @ 2002-08-15 19:37 ` Danek Duvall 0 siblings, 0 replies; 3+ messages in thread From: Danek Duvall @ 2002-08-15 19:37 UTC (permalink / raw) To: Peter Stephenson; +Cc: Zsh hackers list On Wed, Aug 14, 2002 at 05:39:14PM +0100, Peter Stephenson wrote: > I'm seriously considering omitting the termcap and terminfo modules from > the 4.0 line, they've caused no end of grief for fairly minor features. Since they work for me and I don't have to deal with the complaints, I'd really prefer that they stay in. Maybe a configure argument could be used to disable it on a case-by-case basis if there are problems? I'm taking over "maintenance" of zsh in Solaris, and although we're not expecting to maintain the same level of backwards compatibility in our open-source applications as in Solaris apps, it'd be nice not to lose a feature like this, especially as zsh has been pretty good at keeping itself backwards compatible over time. Thanks, Danek ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-15 19:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-08-14 16:18 zsh-4.0.5 can't compile on hpux 10.20 Gansser, Martin 2002-08-14 16:39 ` Peter Stephenson 2002-08-15 19:37 ` termcap/terminfo removal (was zsh-4.0.5 can't compile on hpux 10.20) Danek Duvall
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).