lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Re: lynx


From: T.E.Dickey
Subject: LYNX-DEV Re: lynx
Date: Sun, 30 Mar 1997 06:23:14 -0500 (EST)

> On Sat, 29 Mar 1997, Tom T. Thai wrote:
> 
> > Trying to compile lynx2.7 on netbsd with slang.. 
...
> > 
> > gcc -DHAVE_CONFIG_H  -I.. -I../WWW/Library/Implementation -DUSE_SLANG 
> > -DUNIX  -D
> > NO_TTYTYPE -DNO_CUSERID  -I../WWW/Library/Implementation -DDIRED_SUPPORT  
the "NO_TTYTYPE" is obsolete (I removed it from last week's development version)

> > -DOK_T
> > AR -DOK_ZIP -DOK_GZIP -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT  
> > -DEXP_CHARTRANS
> >  -DHAVE_CONFIG_H  -I.. -I../WWW/Library/Implementation -DUSE_SLANG 
> > -DUNIX  -DNO_
> > TTYTYPE -DNO_CUSERID  -I../WWW/Library/Implementation -DDIRED_SUPPORT  
> > -DOK_TAR
> > -DOK_ZIP -DOK_GZIP -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT  
> > -DEXP_CHARTRANS   -g
> >  -O2  -c ./LYCurses.c
> > ./LYCurses.c: In function `setup':
> > ./LYCurses.c:636: `ttytype' undeclared (first use this function)
> > ./LYCurses.c:636: (Each undeclared identifier is reported only once
> > ./LYCurses.c:636: for each function it appears in.)
> > make[1]: *** [LYCurses.o] Error 1
> > make[1]: Leaving directory `/usr/local/build/lynx2-7/src'
> > make: *** [netbsd-slang] Error 2
> 
> Tom:  I'm cc'ing this msg to the lynx-dev list (Lynx Developers) to
> see if anyone there can help you.  I have not used slang, but others
> have.
on Linux I see ttytype declared in ncurses.h, curses.h (bsd44) and term.h
(ncurses) so I assume that's expected to live in curses.h (but curses.h isn't
included with slang).

on second thought - this looks like (a mess actually) when I see that the
line 636 is ifdef'd (in my version) with HAVE_TTYTYPE, which is only defined
if curses (or ncurses) was configured.  Perhaps he tried configuring with
curses, and then slang w/o deleting the config.cache file, or doing a make
distclean?

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; 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]