Operating System - HP-UX
1819903 Members
2056 Online
109607 Solutions
New Discussion юеВ

Error trying to install lsof

 
SOLVED
Go to solution
Chris Bishop
Occasional Advisor

Error trying to install lsof

When I try to install the lsof utility (v4.57), I am getting the following error:

Looking for ipis_s with /usr/contrib/bin/q4 ...

!!!ERROR!!! !!!ERROR!!!
Configure can't use /usr/contrib/bin/q4 to examine the ipis_s
structure. You must do that yourself, report the result in
the HPUX_IPC_S_PATCH environment variable, then repeat the
Configure step. Consult the Configure script's use of
/usr/contrib/bin/q4 and the 00XCONFIG file for information
on ipis_s testing and the setting of HPUX_IPC_S_PATCH.
!!!ERROR!!! !!!ERROR!!!

I have looked for documentation on what the ipis_s structure is, but I can't find anything helpful. Can anyone give me any ideas on what I need to do to get lsof working? If I can't query the kernel the way they want me to I can set the environment variable manually. I just don't know what to set it to because I'm not sure what the ipis_s structure is.
4 REPLIES 4
Chris Bishop
Occasional Advisor

Re: Error trying to install lsof


I also noticed these two lines in the error that I omitted in my previous post:

q4: (warning) no modules in the crashdump or no INDEX file
q4: (error) vmunix not pxdb'd

Rui_3
Occasional Advisor
Solution

Re: Error trying to install lsof

Just Create this enviromental variable by hand and you can bypass these error, I gave it he value N.

export HPUX_IPC_S_PATCH=N

This worked for me.
Carsten Krege
Honored Contributor

Re: Error trying to install lsof

You might want to read the thread

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x205a87dc4d7dd5118ff00090279cd0f9,00.html

To pxdb the kernel, you could use /usr/contrib/bin/q4pxdb (pre-processor for the q4 debugger)

# /usr/contrib/bin/q4pxdb vmunix

It is not recommended to do this on a life kernel though (but honestly I don't know why).


Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Ralf Hesse
New Member

Re: Error trying to install lsof

I set the
HPUX_IPC_S_PATCH =1

and it worked fine too
patents are the only obstacle of an information-society