Hi Richard,
If you are satisfied with the binaries, you can use them, i normally install it from the source code. For compiling the latest version of lsof 4.59, this is the procedure i followed,
I have a newer version of Q4 (version A.11.10.c (/usr/contrib/Q4/REVISION) with the patch PHCO_20262) on a box running 64 bit 11.0
so there were couple of things i had to do before able to compile lsof.
cp /stand/vmunix /stand/vmunix.lsof
pxdb /stand/vmunix.lsof
(if you don't run this, q4 complains saying the kernel is not ready for debugging and lsof tries to use the kernel in /stand/vmunix)
Also in the Configure script for lsof,
1. change the LSOF_TMP variable to /usr/contrib/Q4/bin/q4 (around line 1490)
2. change /stand/vmunix to /stand/vmunix.lsof
(two locations, lines 1460 and 1498)
./Configure hpux
make
test out lsof, if it works ok, do a make install.
At this point if you want, you may want
rm /stand/vmunix.lsof
and then everything should be ok. ;)
-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates