Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.3.4-dev-8



On Tue, 29 Jan 2008 19:04:16 +0200
"Zvi Har'El" <rl@xxxxxxxxxxxxxxxxxxx> wrote:
> I would like to remind you that on solaris syestem, where ncursesw 
> installed in /usr/local and needs /usr/local/include/ncursesw/term.h 
> rather than /usr/include/term.h, normal build fails, and I need to run 
> "*CFLAGS=-I/usr/local/include/ncursesw ./configure*".

Ick.  I wasn't aware there were yet more problems after the zillion zillion
zillion little hacks for ncurses libraries.

In the long run it ought to be possible to move the configuration code for
term further down until we've probed for variants of curses and have some
idea what libraries we're using; that's more logical anyway since the code
includes curses.h which we may not actually be using.

We also have a perennial warning on Solaris from configure that it doesn't
like term.h (because it needs curses.h---which is what we're testing for,
but configure doesn't like us doing it that way) and that future versions
of autoconf may just go into a sulk.

For now here's a note.

Index: INSTALL
===================================================================
RCS file: /cvsroot/zsh/zsh/INSTALL,v
retrieving revision 1.33
diff -u -r1.33 INSTALL
--- INSTALL	20 Nov 2007 14:20:00 -0000	1.33
+++ INSTALL	29 Jan 2008 17:38:52 -0000
@@ -336,6 +336,11 @@
 configure.  Similarly, you may need to pass LDFLAGS=-L/usr/local/lib
 (or wherever) in order to find the library.
 
+You may also need to add headers if you need to include the file term.h
+from an installation of an ncurses variant instead of from the system
+directories.  For example, CPPFLAGS=-I/usr/local/include/ncursesw will
+force configure to search for term.h in the given directory.
+
 On some systems a suitable development package with a name such as
 curses-devel or ncurses-devel needs to be installed before zsh can
 be compiled.  This is likely to be contained on any installation media,


-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author