Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!ukc!mucs!liv-cs!rkl From: rkl@mva.cs.liv.ac.uk Newsgroups: comp.windows.x Subject: Xlife 2.0 - Faulty distribution...here's the fixes Message-ID: <1990Jul9.124937.11333@mva.cs.liv.ac.uk> Date: 9 Jul 90 11:49:37 GMT Organization: Computer Science CSMVAX, Liverpool University Lines: 34 I had a few problems compiling xlife 2.0 on our HP-UX system (HP-UX 6.5, HP9000 Series 300) and some of these fixes will apply to everyone... 1) The original Imakefile supplied wasn't too clever - this has been fixed now I believe (I haven't seen the revised one yet). My fixes: a) Add a space between -L and /usr/local/lib inside the 'ComplexProgramTarget_1' function (HP's linker needs that space). b) Add '-lBSD' to the second field of 'ComplexProgramTarget_2' because the dreaded 'bzero' call is used in lifeconv.c without checking for System V (which doesn't have bzero). 2) The file gentab.c has a #include "struct.h" which not only wasn't supplied with xlife 2.0 but actually isn't needed anymore (now in cellbox.h) ! My fix: Comment out the #include "struct.h" in gentab.c 3) The file keyin.c has, yes you've guessed it, a "refresh()" call that is nowhere to be seen in the source... My fix: Comment out the refresh() call in keyin.c 4) When running twm (or any window manager that puts a title bar on a window), you can't see the status line at the bottom because the main window size is too big ! My fix: Subtract 48 from the window height in main.c as follows: hints.height = height - bwidth*2 - 48; I'm sorry that there's no diff file for these, but any competent hacker would have spotted and fixed all these problems anyway.... Richard K. Lloyd, *** This is a MicroVAX II running VAX/VMS V5.3-1 *** Computer Science Dept., * JANET : RKL@UK.AC.LIV.CS.MVA or * Liverpool University, * RKL@000010500211.FTP.MAIL * Merseyside, England, * Internet : RKL%mva.cs.liv.ac.uk@cunyvm.cuny.edu * Great Britain. ****************************************************