Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Proc::ProcessTable compilation error on AIX

by narasimp (Novice)
on Jan 06, 2016 at 09:51 UTC ( [id://1152066]=note: print w/replies, xml ) Need Help??


in reply to Re: Proc::ProcessTable compilation error on AIX
in thread Proc::ProcessTable compilation error on AIX

Thanks, but i need to build it manually. this is one of the multiple modules which we need to build on all platforms. any idea on how to fix this error?
  • Comment on Re^2: Proc::ProcessTable compilation error on AIX

Replies are listed 'Best First'.
Re^3: Proc::ProcessTable compilation error on AIX
by syphilis (Archbishop) on Jan 06, 2016 at 12:45 UTC
    "OS.c", line 60.10: 1506-007 (S) "struct userinfo" is undefined.

    Some observations that may or may not be helpful to you:
    In the Proc-ProcessTable-0.53 source, the file os/aix.c #includes just the one header:
    #include "os/aix.h"
    Further down, in the same file, we find the declaration:
    struct userinfo uinfo;
    and the error messages you got tell us that "struct userinfo" is not defined. This suggests that neither os/aix.h nor any of the header files that it pulls in define the "userinfo" struct.
    Yet, google suggests that the "userinfo" struct is to be found in /usr/include/procinfo.h, and os/aix.h definitely contains the line #include <procinfo.h>

    First, check to see whether your /usr/include/procinfo.h does define the userinfo struct.
    If it does not, then the question that needs to be answered is "Why is it missing ?".
    But if it does, then the question that needs to be answered is "How come I then get that error ?". (Is there another procinfo.h that gets loaded instead ?)

    There's a few guys on p5p who are familiar with (and interested in) aix, so I think it's worth asking there if you strike out here.

    Cheers,
    Rob
      Thanks, this could be the root cause here. I shall fix this now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1152066]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found