rkl@mva.cs.liv.ac.uk (07/09/90)
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. ****************************************************dl2n+@andrew.cmu.edu (Daniel Edward Lovinger) (07/10/90)
rkl@mva.cs.liv.ac.uk writes: > 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 Fixed in the patch that just showed up on comp.sources.x. Your fix #3 is incorrect, BTW - it should be a call to redisplay(). Try one-stepping without it ... dan