From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710560.tru64-unix-managers.marc@archive.invalid> From: Larry Griffith Date: Fri, 25 Jul 1997 13:32:59 +0000 To: tru64-unix-managers Subject: [SUMMARY] Trouble installing lynx under V4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710560 Dear Managers, Apart from a request for the CERT advisory, I only received one response but it was just what I needed. Lynx now compiles and installs just fine. Hats off to: Paul A Sand Here is Paul's comment followed by my original post: Larry -- I've compiled lynx from http://www.slcc.edu/lynx/fote/lynx2-7-1.zip using the following steps, according to my notes: % unzip .../lynx2-7-1.zip % cd lynx2-7-1 [edit userdefs.h and lynx.cfg as desired, our changes wouldn't necessarily apply to you] % vi Makefile -- change install to installbsd -- add -DNO_TTYTYPE to MCFLAGS in osf entry % make osf Original post -------- ---- Dear managers, I recently installed v4.0B of Digital UNIX; now I'm trying to reinstall/upgrade a lot of apps. We use lynx here (still lots of dumb terminals and slow dialup lines) so I got lynx v2.7.1 from the Alpha Freeware disk, got the patch suggested by a recent CERT advisory, and tried to compile (I couldn't use the precompiled version because of the CERT advisory). It failed like this: cc -O -Olimit 4000 -DUNIX -DFANCY_CURSES -I../WWW/Library/Implementation -DDIRED_SUPPORT -DOK_TAR -DOK_ZIP -DOK_GZIP -DOK_UUDECODE -DOK_OVERRIDE -DOK_PERMIT -I.. -c LYCurses.c cc: Error: LYCurses.c, line 404: Invalid declarator. return(1); ----^ cc: Error: LYCurses.c, line 401: In the initializer for LYlines, "LINES" is not constant, but occurs in a context that requires a constant expression. LYlines = LINES; --------------^ cc: Error: LYCurses.c, line 402: In the initializer for LYcols, "COLS" is not constant, but occurs in a context that requires a constant expression. LYcols = COLS; -------------^ cc: Error: LYCurses.c, line 39: The function "dumbterm" has internal linkage, occurs in a context that requires its definition, and has no definition. PRIVATE int dumbterm PARAMS((char *terminal)); ------------^ *** Exit 1 Stop. *** Exit 1 Stop. I haven't got time to try to patch this; has anyone seen this problem (and hopefully a fix)? ============================================================================ Larry Griffith Dept. of Computer & Info Science larry@garfield.wsc.mass.edu Westfield State College (413) 572-5294 Westfield, MA 01086 USA PGP public key available at: http://garfield.wsc.mass.edu/dcis/griffith.html ============================================================================