Front page | perl.beginners |
Postings from April 2002
SNMP help
From:
Kessler, Ben
Date:
April 29, 2002 12:26
Subject:
SNMP help
Message ID:
4593CB0A853ED311AD7C0000D1EC9A75049A655C@mxd.chx.com
Hi all,
I've installed the ucd-snmp tools (ver. 4.2.4) on my RH7.0 box and am having problems getting the Perl SNMP module installed. I've tried the one included with the ucd-snmp distribution as well as downloading directly from CPAN and no joy.
I've tried the RTFM route but the install directions are a bit sparse and don't indicate why I'm getting the following errors upon install. If someone could point me to in the right direction that would be great.
Thanks in advance,
Ben
Here's the output from my attempt at compiling the Net::SNMP module:
[root@chxadmu08 SNMP-4.2.0]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for SNMP
[root@chxadmu08 SNMP-4.2.0]# make
gcc -c -I/usr/include -fno-strict-aliasing -O2 -march=i386 -mcpu=i686 -DVERS
ION=\"4.2.0\" -DXS_VERSION=\"4.2.0\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/COR
E SNMP.c
SNMP.xs: In function `__translate_appl_type':
SNMP.xs:331: `TYPE_INTEGER32' undeclared (first use in this function)
SNMP.xs:331: (Each undeclared identifier is reported only once
SNMP.xs:331: for each function it appears in.)
SNMP.xs:333: `TYPE_UNSIGNED32' undeclared (first use in this function)
SNMP.xs:364: `TYPE_NOTIFTYPE' undeclared (first use in this function)
SNMP.xs: In function `__get_type_str':
SNMP.xs:581: `TYPE_INTEGER32' undeclared (first use in this function)
SNMP.xs:584: `TYPE_UNSIGNED32' undeclared (first use in this function)
SNMP.xs:624: `TYPE_NOTIFTYPE' undeclared (first use in this function)
SNMP.xs: In function `XS_SNMP__MIB__NODE_FETCH':
SNMP.xs:4548: structure has no member named `varbinds'
SNMP.xs:4548: dereferencing pointer to incomplete type
SNMP.xs:4549: dereferencing pointer to incomplete type
SNMP.xs:4549: dereferencing pointer to incomplete type
SNMP.xs:4557: structure has no member named `defaultValue'
make: *** [SNMP.o] Error 1
-
SNMP help
by Kessler, Ben