Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!bellcore!faline!thumper!gamma!sau From: sau (Stephen A Uhler) Newsgroups: comp.windows.misc Subject: Re: MGR installation Message-ID: <8901271859.AA29288@wind.bellcore.com> Date: 27 Jan 89 20:45:29 GMT Sender: lju@gamma.UUCP Organization: Bellcore, Morristown, NJ Lines: 51 To: majka@moose.cs.ubc.ca In-Reply-To: <484@ubc-cs.UUCP> Cc: In article <484@ubc-cs.UUCP> you write: >I picked up mgr from uunet and tried to install it over the last >couple of days. There are problems. > >There are, however, two other bugs which bit me (i.e. they cause >make to fail): > >1: sys/kbd.c has this silly line (line 23): > # include "" > This should probably be: > #include It is actually #include Sun is good at moving TIOCCONS around. > >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. usrman.out got lost somewhere, A patch to the Makefile makes usrman.out if it isn't there. > >Make complains of many errors while installing mgr, even with >these fixes. All of them are reported with something like: > "*** Error code 1: (ignored)" The Makefile is weird! In general if make ignores an error, all is OK. > >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. I told you the Makefile was weird. > >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. This only happens on SUNOS-4.0. A fix is coming. If you can't wait, change line 69 in src/blit/bitmap.c (in the mmap call) replacing PROT_WRITE with PROT_READ|PROT_WRITE > >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. I sent these (and other) fixes to $alz, so hopefully you should see them soon. > >BTW, I tried putting mgr on a SUN 3, running SunOS 4.0. I don't >believe this is an oddball system. When I sent MGR to be posted, I didn't have 4.0 (I still use 3.5).