RE: Net-SNMP for hpux 10.20
Doug Anderson <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------------------------
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
net-snmp.log
(application/octet-stream, 1.5 KB)
Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent. NET-SNMP version 5.2.2