On 22 August 2011 15:46, Lomax, Michael P. <mlo...@quadramed.com> wrote:
> However the Net-SNMP instructions do say to run `make test` prior to running 
> `make install`.

Normally, yes.
But that assumes everything is running on a system
where things should be working properly.
"make test" is simply a final check to make sure.

Given that you have already identified a problem with this AIX build,
you need to concentrate on sorting this out before proceeding with
the make test/make install.


>  I am not sure how you would run `snmpd` from the install directories prior 
> to the `make install`.

   $ cd agent
   $ ./snmpd -f -Le

This will probably complain about missing configuration, etc - but should
indicate whether the agent is managing to run properly or not.



> I do see that there are snmpd files in several of the release directories.
>  Are you talking about running one of those?

Yes.


>  If you are talking about the native AIX `snmpd`
> which I already have run on this server with no issues.

No - I'm talking about the Net-SNMP agent that you seem to
be trying to compile.   If you're happy with the native agent,
and don't want to use the Net-SNMP agent, then you can
omit building this completely by running

    configure --disable-agent

and recompiling.



> As for Robert's mention of libperfstat.h we did find a later version
> than what is installed but it did not compile properly.

I don't think that Robert was suggesting that you install a newer
version of the header file.   That is part of the system environment,
so shouldn't normally be changed.
   If anything needs to be adjusted, it's probably the application
code - Net-SNMP in this case.

What Robert *actually* said was:

     So if you search for this error ["checking libperfstat.h usability"],
     right below it there is a copy of the code it tried to compile.
     Have your dev guy extract this code and try to figure out
     which header needs to be included to fix the error with in6_var.

The error itself was:
    /usr/include/netinet/in6_var.h:65: error: array type has
incomplete element type

So the first thing is to look at this header file.
What does line 65 say?

Dave

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to