MGR installation

Mark VandeWettering markv at uoregon.uoregon.edu
Sat Jan 28 08:24:14 AEST 1989


In article <484 at ubc-cs.UUCP> majka at moose.cs.ubc.ca () writes:

>1:  sys/kbd.c has this silly line (line 23):
>    #   include "<sys/termios.h>"
>    This should probably be:
>    #include <sys/termios.h>

	I think this is an difference between the compilers under SUNOS4
	and the older versions.  See the caveats below.

>2:  There is supposed to be a file called doc/usrman.out
>    It doesn't exist.  I made an empty one to get make over it,
>    assuming that mgr would run without whatever this document
>    is supposed to be.

	Yeah, I did something similar.

>Some of them do look ignorable, but there are mysterious things
>which look more serious.  e.g.: "mv mgr _mgr" fails because the
>file mgr doesn't exist.  "ln mgr mgr" also fails.

	The makefiles in MGR are atrocious.  Whoever designed them....
	AGH!  I think I am going to totally redo them.  Whenever you
	touch a C file, it really wants to remake the whole
	distribution.  Kind of defeats the purpose of the thing doesn't
	it?

>Thus, even though I got make to run all the way through, mgr was
>probably in a bad state.  This seemed to be indicated further by
>the fact that running mgr causes a segmentation fault.  It will
>run with -v or -V and print version information, but otherwise it
>dies without touching the screen. 
	
	MGR also coredumps on me, with a similar system (SUN 3/60 with
	SUNOS4).  The coredump appears in mem_rop, in the blitlib
	library.  I managed to build the version that uses pixrect, but
	it too has problems (doesn't notice font changes)

>Has anyone out there got fixes for mgr?  I would like to try it 
>out (as, I am sure, do many others on the net).  An informed 
>posting to the net would be reasonable at this point.  Email to
>me would be appreciated, but perhaps less helpful to other lost
>soles.  

>BTW, I tried putting mgr on a SUN 3, running SunOS 4.0.  I don't
>believe this is an oddball system.

	One thing I noticed is there is code in mgr.c and copyright.c
	that assume 4.2 type "select" calls, where the mask is an
	integer.  PLEASE folks, take the time to upgrade this to 4.3ish
	standards.  Under SUNOS4, it just doesn't work anymore! 


>---
>Marc Majka  -  System Manager  UBC Computer Science
><majka at cs.ubc.ca>
>---
	
	I hope this might save someone else some time, keep me posted if
	anyone has fixes for SUNOS4.



More information about the Comp.sources.bugs mailing list