[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV HP-UX snake problems solved!
From: |
Hiram Lester, Jr. |
Subject: |
LYNX-DEV HP-UX snake problems solved! |
Date: |
Thu, 27 Feb 1997 14:01:17 -0600 (CST) |
Ok, Fote and I managed to track down the problems with the snake3 targets.
I had to pull out cpp, and beat the code with a stick to find out exactly
what it was skipping, and why. Fote managed to guess at the correct
answer. :P
Anyway, it appears that when the -Ae flag is used, -DUNIX must also be
used. This patch for the Makefile does this and adds a snake-slang
target. The snake3 targets now no longer exhibit the text/html; q=0.000
problem. So, here's the patch. Enjoy!
*** lynx2-7/Makefile.orig Thu Feb 27 13:27:46 1997
--- lynx2-7/Makefile Thu Feb 27 13:41:24 1997
***************
*** 226,231 ****
--- 226,232 ----
@echo "sun4-slang -- for SUN 4 OS with color slang package"
@echo "svr4 -- for SVR4"
@echo "snake -- for HP-UX lt 9.01 (gcc)"
+ @echo "snake-slang -- for HP-UX lt 9.01 (gcc) with color slang"
@echo "snake2 -- for HP-UX gte 9.01 (gcc)"
@echo "snake2-slang -- for HP-UX gte 9.01 (gcc) with color slang"
@echo "snake3 -- for HP-UX (purchased compiler)"
***************
*** 473,478 ****
--- 474,488 ----
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/snake/libwww.a"
+ snake-slang:
+ cd WWW/Library/snake; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX \
+ -DUSE_SLANG -DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="-lcurses -ltermcap \
+ $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/snake/libwww.a" \
+ SLANGLIB="$(SLANGLIB) -lslang" SLANGINC="$(SLANGINC)"
+
snake2:
cd WWW/Library/snake; $(MAKE) CC="gcc" LYFLAGS="-D_INCLUDE_HPUX_SOURCE \
-D_INCLUDE_POSIX_SOURCE -D_INCLUDE_AES_SOURCE \
***************
*** 503,509 ****
# Note that initial releases of HP/UX 10.10 have a broken select() in
# libcurses.a and will malfunction with Lynx. See the PROBLEMS file.
snake3:
! cd WWW/Library/snake; $(MAKE) CC="cc" LYFLAGS="-Ae $(SITE_LYDEFS)"
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Ae -DFANCY_CURSES -DUNIX \
-DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lcurses -ltermcap \
--- 513,520 ----
# Note that initial releases of HP/UX 10.10 have a broken select() in
# libcurses.a and will malfunction with Lynx. See the PROBLEMS file.
snake3:
! cd WWW/Library/snake; $(MAKE) CC="cc" LYFLAGS="-Ae -DUNIX \
! $(SITE_LYDEFS)"
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Ae -DFANCY_CURSES -DUNIX \
-DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lcurses -ltermcap \
***************
*** 511,517 ****
WWWLIB="../WWW/Library/snake/libwww.a"
snake3-slang:
! cd WWW/Library/snake; $(MAKE) CC="cc" LYFLAGS="-Ae $(SITE_LYDEFS)"
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Ae -DUSE_SLANG -DUNIX \
-DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lcurses -ltermcap \
--- 522,529 ----
WWWLIB="../WWW/Library/snake/libwww.a"
snake3-slang:
! cd WWW/Library/snake; $(MAKE) CC="cc" LYFLAGS="-Ae -DUNIX \
! $(SITE_LYDEFS)"
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Ae -DUSE_SLANG -DUNIX \
-DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lcurses -ltermcap \
+------------------------------------+-------------------------------+
| Hiram W. Lester, Jr. | E-Mail: address@hidden |
| Computer Science | Home page: |
| Middle Tennessee State University | http://pobox.com/~hwlester/ |
+------------------------------------+-------------------------------+
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV HP-UX snake problems solved!,
Hiram Lester, Jr. <=