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 <pas_at_cisunix.unh.edu>
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_at_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
============================================================================
Received on Fri Jul 25 1997 - 15:59:04 NZST