tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] Trouble installing lynx under V4.0B
@ 1997-07-25 13:32 Larry Griffith
  0 siblings, 0 replies; only message in thread
From: Larry Griffith @ 1997-07-25 13:32 UTC (permalink / raw)
  To: tru64-unix-managers

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@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@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
============================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-25 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-25 13:32 [SUMMARY] Trouble installing lynx under V4.0B Larry Griffith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox