OK, then next question how do I handle net-snmp 5.2.2 binary installed.
Here is the log I am getting.
Here is the error I get if I follow the logs suggestion.
@ccchpc09::super_ /opt/net-snmp/bin> ./snmpconf -g basic_setup
syntax error in file ./snmpconf at line 9, next 2 tokens "use Getopt"
syntax error in file ./snmpconf at line 26, next 2 tokens "qw("
syntax error in file ./snmpconf at line 27, next 2 tokens "qw("
syntax error in file ./snmpconf at line 54, next 2 tokens "getopts("
Spurious backslash ignored at ./snmpconf line 54.
syntax error in file ./snmpconf at line 78, next 2 tokens "exists("
syntax error in file ./snmpconf at line 79, next 2 tokens "new Term"
Spurious backslash ignored at ./snmpconf line 82.
Spurious backslash ignored at ./snmpconf line 83.
syntax error in file ./snmpconf at line 86, next 2 tokens "Print("
Missing $ on loop variable at ./snmpconf line 87.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Shield
Sent: Wednesday, August 02, 2006 8:36 AM
To: Doug Anderson
Cc: [email protected]
Subject: Re: Net-SNMP for hpux 10.20
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 02/08/06, Doug Anderson <[EMAIL PROTECTED]> wrote:
> Here are the error logs you have requested.
>
> I did not notice any errors in Configure, but I sent it anyway. Just in case
> there was one I missed.
-----
/bin/sh ../libtool --mode=compile cc -I../include -I. -I../snmplib
-g -Dhpux10 -c -o snmp_client.lo snmp_client.c
cc -I../include -I. -I../snmplib -g -Dhpux10 -c snmp_client.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C product; ignored.
-----
OK - that's the problem right there.
You're using the HP-UX bundled C compiler. This is only really
intended for compiling a new kernel. It is *not* sufficient for
program development.
You either need to buy HP's full C compiler, or install gcc (e.g. from
the HP-UX Software Archive). That will then allow you to compile the
Net-SNMP source. But the bundled C compiler isn't sufficient.
Dave
net-snmp.log
Description: Binary data
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
