1833791 Members
2993 Online
110063 Solutions
New Discussion

Re: lsof and pxdb??

 
maria paschali
Frequent Advisor

lsof and pxdb??

Greetings all,

Im am trying to install lsof on my machine running 11.00. It is a 64 bit machine and i need to compile. I downloaded the tar from hpux.cs.utah.edu.

I have extracted the contents of the tar file and went to configure lsof with

./Configure hpux (according to the instructions)

however i get a whole heap of errors. Gist of it is this

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.

It also asks to verify the problem by running

pxdb -s status /stand/vmunix

so i try and run it and i get the following error message

ksh: pxdb: not found

Im assuming pxdb is some sort of debugger or something.

Where does the pxdb come from and how do i install it? Or how do i fix this problem?

Thanks in advance for your suggestions and advice.

Regrads
Maria
6 REPLIES 6
Patrick Chim
Trusted Contributor

Re: lsof and pxdb??

Hi,

Here is a silly question ! Have you got any C compiler in your machine ?

Does the compiler come with the OS ( something like C Bundle) or ANSI C Compiler (you need to buy) or just the gcc compiler ?

Regards,
Patrick
Patrick Chim
Trusted Contributor

Re: lsof and pxdb??

Hi,

Here is a silly question ! Have you got any C compiler in your machine ?

Does the compiler come with the OS ( something like C Bundle) or ANSI C Compiler (you need to buy) or just the gcc compiler ?

I compile the lsof by myself on HP-UX 11i and it got no problem and my server have the ANSI C Compiler installed.

Regards,
Patrick
Patrick Chim
Trusted Contributor

Re: lsof and pxdb??

Hi,

Here is a silly question ! Have you got any C compiler in your machine ?

Does the compiler come with the OS ( something like C Bundle) or ANSI C Compiler (you need to buy) or just the gcc compiler ?

I compile the lsof by myself on HP-UX 11i and it got no problem and my server have the ANSI C Compiler installed.

Regards,
Patrick
maria paschali
Frequent Advisor

Re: lsof and pxdb??

hi,

i think i have it installed.
i wrote a small program and compiled it but there are error messages.
#cc test.c -o out
(Bundled) cc: "test.c", line 3: warning 28: Overflow occurred while processing an integer character constant containing more than fou
r characters.

however, when i do a swlist -l bundle -l subproduct
i dont seam to find anything that has an ansii C.

thanks
maria
Patrick Chim
Trusted Contributor

Re: lsof and pxdb??

Hi,

The compiler you using is come with the OS and I don't know where it can compile the lsof or not because it has limited criteria (as my experience). I use the ANSI C to compile my lsof and is OK.

I attached my lsof and see whether you can use it or not !

Regards,
Patrick
maria paschali
Frequent Advisor

Re: lsof and pxdb??

Hi Patrick,

Thanks for your suggestion.
i found that i need to use q4pxdb64 /stand/vmunix

i had to set the NLSPATH and it appeared to compile/configure with no problems

Thanks again