[prev in list] [next in list] [prev in thread] [next in thread]
List: lynx-dev
Subject: LYNX-DEV HP-UX snake problems solved!
From: "Hiram Lester, Jr." <hwlester () pobox ! com>
Date: 1997-02-27 20:01:17
[Download RAW message or body]
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: hwlester@pobox.com |
| Computer Science | Home page: |
| Middle Tennessee State University | http://pobox.com/~hwlester/ |
+------------------------------------+-------------------------------+
;
; To UNSUBSCRIBE: Send a mail message to majordomo@sig.net
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic