From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16487 invoked from network); 14 Dec 2007 09:52:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Dec 2007 09:52:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 79482 invoked from network); 14 Dec 2007 09:52:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Dec 2007 09:52:30 -0000 Received: (qmail 576 invoked by alias); 14 Dec 2007 09:52:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24247 Received: (qmail 26024 invoked from network); 14 Dec 2007 09:45:32 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 14 Dec 2007 09:45:32 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id E254D8058F55 for ; Fri, 14 Dec 2007 10:42:42 +0100 (CET) Received: from puffy.raveland.org (puffy.raveland.org [195.200.166.230]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Fri, 14 Dec 2007 10:42:42 +0100 (CET) Received: from portable.raveland.priv (bofh.pacwan.net [195.200.191.36]) by puffy.raveland.org (Postfix) with ESMTP id EE03771341F; Fri, 14 Dec 2007 10:45:26 +0100 (CET) Date: Fri, 14 Dec 2007 10:45:23 +0100 From: Pea To: Peter Stephenson Cc: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: 4.3.4-dev-4 and 4.2.6-dev-2 available Message-ID: <20071214104523.32bf017b@portable.raveland.priv> In-Reply-To: <20071213181050.55477e48@news01> References: <22582.1197372038@csr.com> <20071213160915.4bcabae3@raveland.org> <20071213181050.55477e48@news01> Organization: Raveland X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; x86_64-unknown-openbsd4.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Le Thu, 13 Dec 2007 18:10:50 +0000, Peter Stephenson a =E9crit : > This suggests the right library to use on OpenBSD is curses, right? > In that case I hope the following patch works. We won't be able to > test this... it would be great if you were able to ASAP. I can send > the corresponding configure if you need it. >=20 > You should also find it compiles with --with-term-lib=3Dcurses. >=20 [...] I tried your patch, dont it doesn't work. Case 1 give me:=20 ./configure --enable-zsh-mem --enable-zsh-secure-free --enable-maildir-support --with-tcsetpgrp --enable-multibyte zsh configuration ----------------- zsh version : 4.3.4-dev-4 host operating system : i386-unknown-openbsd4.2 source code location : . compiler : gcc preprocessor flags :=20 executable compiler flags : -Wall -Wmissing-prototypes -O2 module compiler flags : -Wall -Wmissing-prototypes -O2 -fPIC executable linker flags : -s -Wl,-E module linker flags : -s -shared -fPIC library flags : -ltermcap -lm -lc installation basename : zsh binary install path : /usr/local/bin man page install path : ${prefix}/share/man info install path : ${prefix}/share/info functions install path : ${prefix}/share/zsh/4.3.4-dev-4/functions Next i do : gmake [...] rm -f clone.so gcc -s -shared -fPIC -o clone.so clone..o -ltermcap -lm -lc=20 nawk -f ./curses_keys.awk /usr/include/ncurses.h /dev/null >curses_keys.h gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall >-Wmissing-prototypes -O2 -fPIC -o curses..o curses.c In file included from /usr/include/curses.h:14, from curses.c:46: /usr/include/ncurses.h:251: error: conflicting types for `wchar_t' /usr/include/stddef.h:54: error: previous declaration of `wchar_t' /usr/include/ncurses.h:254: error: conflicting types for `wint_t' /usr/include/stddef.h:59: error: previous declaration of `wint_t' gmake[3]: *** [curses..o] Error 1 gmake[3]: Leaving directory `/usr/ports/shells/zsh_pea/w-zsh-4.3.4-dev-4/zsh-4.3.4-dev-4/Src/Modules' gmake[2]: *** [modules] Error 1 gmake[2]: Leaving directory `/usr/ports/shells/zsh_pea/w-zsh-4.3.4-dev-4/zsh-4.3.4-dev-4/Src' gmake[1]: *** [modules] Error 2 gmake[1]: Leaving directory `/usr/ports/shells/zsh_pea/w-zsh-4.3.4-dev-4/zsh-4.3.4-dev-4/Src' gmake: *** [all] Error 1 Case 2 give me: ./configure --enable-zsh-mem --enable-zsh-secure-free --enable-maildir-support --with-tcsetpgrp --enable-multibyte --with-term-lib=3Dcurses zsh configuration zsh version : 4.3.4-dev-4 host operating system : i386-unknown-openbsd4.2 source code location : . compiler : gcc preprocessor flags :=20 executable compiler flags : -Wall -Wmissing-prototypes -O2 module compiler flags : -Wall -Wmissing-prototypes -O2 -fPIC executable linker flags : -s -Wl,-E module linker flags : -s -shared -fPIC library flags : -lcurses -lm -lc installation basename : zsh binary install path : /usr/local/bin man page install path : ${prefix}/share/man info install path : ${prefix}/share/info functions install path : ${prefix}/share/zsh/4.3.4-dev-4/functions gmake [...] rm -f clone.so gcc -s -shared -fPIC -o clone.so clone..o -lcurses -lm -lc=20 gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o curses..o curses.c In file included from /usr/include/curses.h:14, from curses.c:46: /usr/include/ncurses.h:251: error: conflicting types for `wchar_t' /usr/include/stddef.h:54: error: previous declaration of `wchar_t' /usr/include/ncurses.h:254: error: conflicting types for `wint_t' /usr/include/stddef.h:59: error: previous declaration of `wint_t' gmake[3]: *** [curses..o] Error 1 gmake[3]: Leaving directory `/usr/ports/shells/zsh_pea/w-zsh-4.3.4-dev-4/zsh-4.3.4-dev-4/Src/Modules' gmake[2]: *** [modules] Error 1 gmake[2]: Leaving directory `/usr/ports/shells/zsh_pea/w-zsh-4.3.4-dev-4/zsh-4.3.4-dev-4/Src' gmake[1]: *** [modules] Error 2 gmake[1]: Leaving directory `/usr/ports/shells/zsh_pea/w-zsh-4.3.4-dev-4/zsh-4.3.4-dev-4/Src' gmake: *** [all] Error 1 Just for informations, /usr/include/curses.h contains: /* $OpenBSD: curses.h,v 1.3 2003/06/17 21:33:53 millert Exp $ */ /* * Placed in the public domain by Todd C. Miller * on June 17, 2003. */ #ifndef _CURSES_H_ #define _CURSES_H_ #ifdef _USE_OLD_CURSES_ #include #else #include #endif #endif /* _CURSES_H_ */ Hope it can help..