lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV building with ncurses (lynx2-7rp and 2-7-1)


From: Laura Eaves
Subject: LYNX-DEV building with ncurses (lynx2-7rp and 2-7-1)
Date: Thu, 24 Apr 1997 00:33:40 -0400 (EDT)

I tried building lynx2-7rp on linux ("make develop")
and it failed:

gcc -O -DUNPAINT_CACHE -DUNIX -DLINUX -DNCURSES  -DFANCY_CURSES -DNO_KEYPAD 
-DNO_TTYTYPE -DTEST -DCS  -I/usr/include/ncurses 
-I../WWW/Library/Implementation -DDIRED_SUPPORT  -DOK_TAR -DOK_ZIP -DOK_GZIP 
-DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT   -DXRP -DUSEHASH -I..    -c LYClean.c 
-o LYClean.o
In file included from LYClean.c:3:
LYCurses.h:36: ncurses/curses.h: No such file or directory
make[1]: *** [LYClean.o] Error 1
make[1]: Leaving directory `/home/leaves/lynx/lynx2-7rp/src'
make: *** [develop] Error 2

This also happened before when building for ncurses with 2-7-1.
I looked at /usr/include/curses.h and it had
#ifdef NCURSES sprinked through it, + NCURSES_VERSION defined as 1.9.9e.
But of courseit was installed as /usr/include/curses.h, not ncurses/curses.h.
or ncurses.h.  (libncurses.a seems to be present...)

The file was included from LYCurses.h:

#ifdef NCURSES
# ifndef NCURSESHEADER
/* HERE--> */ #  include <ncurses/curses.h>
# else
#  ifdef __NetBSD__
#    include <ncurses/ncurses.h>
#  else
#    include <ncurses.h>
#  endif /* __NetBSD__ */
# endif /* NCURSESINCDIR */
#else
...

Any way I define it it would fail unless I edited LYCurses.h.

Does the machine I'm using have ncurses installed in an unusual place?
Does anyone else have this problem?

--le

PS: I once tried downloading and building ncurses 1.9.9g, but couldn't get
    it to build and didn't have time to figure out why.
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]