From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4009 invoked from network); 31 May 2001 10:00:02 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 May 2001 10:00:02 -0000 Received: (qmail 15027 invoked by alias); 31 May 2001 09:59:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14606 Received: (qmail 15015 invoked from network); 31 May 2001 09:59:54 -0000 Message-ID: To: Jens Schleusener , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: zsh-4.0.1-pre-[45] compile problems under AIX In-reply-to: "Jens Schleusener"'s message of "Wed, 30 May 2001 22:44:27 +0200." Date: Thu, 31 May 2001 10:34:16 +0100 From: Peter Stephenson Jens Schleusener wrote: > Hi, > > I have problems to compile zsh-4.0.1-pre-4 and zsh-4.0.1-pre-5 > under AIX 4.1.4 and 4.3.x. > > I assume the problem is a local one (local gcc installation etc.) and > probably I have overseen something. This could be a problem with the configure changes for termcap, so it might be serious. First, however, does this happen with a completely clean distribution? It's possible some of the attempts at fixing termcap/curses in the middle have confused configure. Has anybody compiled successfully under AIX with zsh-4.0.1-pre-4 or zsh-4.0.1-pre-5? If not, we need to fix this. > Under AIX 4.1.4 (gcc 2.95.3) I got the following error: > > ... > gcc -c -I. -DHAVE_CONFIG_H -I/usr/local/contrib/include -o termcap.o > termcap.c > In file included from termcap.c:61: > /usr/include/term.h:1315: parse error before `SGTTY' That probably means that curses.h hasn't been included. Is TERM_H_NEEDS_CURSES_H defined in config.h? If not we need to figure out why not. In the generated file config.log, look for the message `checking if term.h needs curses.h'. You should see some failure messages for an attempt to compile a programme which included term.h, but not curses.h (just what's happening in the failed compilation above), which triggers the symbol being defined. It should be pretty difficult to get the compilation to succeed accidentally, though. Looking at termcap.c, I can't see any other way of getting that particular error. -- Peter Stephenson Software Engineer CSR Ltd., Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070 ********************************************************************** 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. **********************************************************************