* Re: zsh-4.0.1-pre-4
[not found] <Tc0a88d015369d1a602@mailsweeper01.cambridgesiliconradio.com>
@ 2001-05-10 0:17 ` Fletch
2001-05-10 4:32 ` zsh-4.0.1-pre-4 Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Fletch @ 2001-05-10 0:17 UTC (permalink / raw)
To: Peter Stephenson; +Cc: Zsh users list
Problems on Solaris 2.7 with HAVE_CURSES_H not getting defined
correctly. This may just be my particular gcc install (the SMCgcc
2.95.2 package from sunfreeware).
gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H
-DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o
termcap..o termcap.c
termcap.c: In function `scantermcap':
termcap.c:327: `boolcodes' undeclared (first use in this function)
termcap.c:327: (Each undeclared identifier is reported only once
termcap.c:327: for each function it appears in.)
termcap.c:336: `numcodes' undeclared (first use in this function)
termcap.c:345: `strcodes' undeclared (first use in this function)
termcap.c:256: warning: `capcode' might be used uninitialized in this function
make[3]: *** [termcap..o] Error 1
Configure'd with just `./configure --prefix=/usr/local'.
Looking config.log shows:
configure:3336: gcc -c -Wall -Wno-implicit -Wmissing-prototypes -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c 1>&5
In file included from /usr/include/curses.h:23,
from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/curses.h:5,
from configure:3329:
/usr/include/widec.h:42: warning: `getwc' redefined
/usr/include/wchar.h:326: warning: this is the location of the previous definition
/usr/include/widec.h:43: warning: `putwc' redefined
/usr/include/wchar.h:329: warning: this is the location of the previous definition
/usr/include/widec.h:44: warning: `getwchar' redefined
/usr/include/wchar.h:327: warning: this is the location of the previous definition
/usr/include/widec.h:45: warning: `putwchar' redefined
/usr/include/wchar.h:330: warning: this is the location of the previous definition
If I edit config.h and define HAVE_CURSES_H by hand everything
compiles fine.
zsh configuration
-----------------
zsh version : 4.0.1-pre-4
host operating system : sparc-sun-solaris2.7
source code location : .
compiler : gcc
preprocessor flags : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
executable compiler flags : -Wall -Wno-implicit -Wmissing-prototypes
-O2
module compiler flags : -Wall -Wno-implicit -Wmissing-prototypes
-O2 -fpic
executable linker flags : -s
module linker flags : -s -G
library flags : -lsocket -ldl -lnsl -lcurses -lm -lc
installation basename : zsh
binary install path : /usr/local/bin
man page install path : /usr/local/man
info install path : /usr/local/info
functions install path : /usr/local/share/zsh/4.0.1-pre-4/functions
See config.modules for installed modules and functions.
--
Fletch | "If you find my answers frightening, __`'/|
fletch@phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: zsh-4.0.1-pre-4
2001-05-10 0:17 ` zsh-4.0.1-pre-4 Fletch
@ 2001-05-10 4:32 ` Bart Schaefer
2001-05-10 17:02 ` zsh-4.0.1-pre-4 Fletch
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2001-05-10 4:32 UTC (permalink / raw)
To: Fletch, Peter Stephenson; +Cc: Zsh users list
On May 9, 8:17pm, Fletch wrote:
} Subject: Re: zsh-4.0.1-pre-4
}
} Problems on Solaris 2.7 with HAVE_CURSES_H not getting defined
} correctly.
Oh, bloody hell.
--- zsh-forge/current/configure.in Tue May 8 22:40:53 2001
+++ zsh-4.0/configure.in Wed May 9 21:31:13 2001
@@ -563,7 +563,7 @@
case "$LIBS" in
*curses*)
AC_CHECK_HEADERS(curses.h, [],
-AC_CACHE_CHECK(for Solaris 8 curses.h mistake, ac_cv_header_curses_h,
+AC_CACHE_CHECK(for Solaris 8 curses.h mistake, ac_cv_solaris_curses_h,
AC_TRY_COMPILE([#include <curses.h>], [],
[ac_cv_header_curses_h=yes
AC_DEFINE(HAVE_CURSES_H)],
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: zsh-4.0.1-pre-4
2001-05-10 4:32 ` zsh-4.0.1-pre-4 Bart Schaefer
@ 2001-05-10 17:02 ` Fletch
0 siblings, 0 replies; 3+ messages in thread
From: Fletch @ 2001-05-10 17:02 UTC (permalink / raw)
To: Bart Schaefer; +Cc: Peter Stephenson, Zsh users list
>>>>> "Bart" == Bart Schaefer <schaefer@candle.brasslantern.com> writes:
On May 9, 8:17pm, Fletch wrote:
} Subject: Re: zsh-4.0.1-pre-4
}
} Problems on Solaris 2.7 with HAVE_CURSES_H not getting defined
} correctly.
Bart> Oh, bloody hell.
Patched, reran autoconf, and it compiles fine now.
--
Fletch | "If you find my answers frightening, __`'/|
fletch@phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-10 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Tc0a88d015369d1a602@mailsweeper01.cambridgesiliconradio.com>
2001-05-10 0:17 ` zsh-4.0.1-pre-4 Fletch
2001-05-10 4:32 ` zsh-4.0.1-pre-4 Bart Schaefer
2001-05-10 17:02 ` zsh-4.0.1-pre-4 Fletch
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).