I am not sure of the state of the CPAN release...I would suggest getting the latest release code from the net-snmp sourceforge project
http://sourceforge.net/projects/net-snmp/ this package includes the net-snmp libraries and the perl module which is more likely to play together well. ./configure --with-perl-modules I will check to see what's up with the CPAN release... Also best to copy list above with questions like this. regards, GSM Matt Musgrove wrote: > Hi, > I tried installing SNMP on one of our linux boxes today and I found a > few problems. I checked rt.cpan.org and I see these problems. That > site is incredibly slow today and it times out before I can read the > contents of the bug tickets. > > Anyway here goes. Creating the makefile failed. > > [EMAIL PROTECTED] mm-nms SNMP-4.2.0]$ perl Makefile.PL LIB=~/lib > INSTALLMAN1DIR=~/man/man1 INSTALLMAN3DIR=~/man/man3 > WARNING: MAN3PODS takes a hash reference not a string/number. > Please inform the author. > Can't use string ("SNMP") as a HASH ref while "strict refs" in use at > /usr/lib/perl5/5.8.0/ExtUtils/MM_Unix.pm line 435. > > Once I removed the MAN3PODS line, I ran perl Makefile.PL with no > problems. When I ran make I got an error compiling the XS portion > though. > > [EMAIL PROTECTED] mm-nms SNMP-4.2.0]$ perl Makefile.PL LIB=~/lib > INSTALLMAN1DIR=~/man/man1 INSTALLMAN3DIR=~/man/man3 Checking if your kit > is complete... > Looks good > Writing Makefile for SNMP > Unable to locate the MIBs, Please enter the path: [/usr/local/sbin] > /usr/share/snmp/mibs > [EMAIL PROTECTED] mm-nms SNMP-4.2.0]$ make cp SNMP.pm > blib/lib/SNMP.pm AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP) > /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes > -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap SNMP.xs > >>SNMP.xsc && mv SNMP.xsc SNMP.c > > gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS > -DDEBUGGING -fno-strict-aliasing -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -march=i386 -mcpu=i686 -DVERSION=\"4.2.0\" > -DXS_VERSION=\"4.2.0\" -fPIC > "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" SNMP.c > SNMP.xs: In function `__snmp_xs_cb': > SNMP.xs:1148: `RECEIVED_MESSAGE' undeclared (first use in this function) > SNMP.xs:1148: (Each undeclared identifier is reported only once > SNMP.xs:1148: for each function it appears in.) > SNMP.xs:1218: `TIMED_OUT' undeclared (first use in this function) > SNMP.xs: In function `_bulkwalk_async_cb': > SNMP.xs:1519: `RECEIVED_MESSAGE' undeclared (first use in this function) > SNMP.xs:1552: `TIMED_OUT' undeclared (first use in this function) > SNMP.xs: In function `XS_SNMP__trapV1': > SNMP.xs:3791: structure has no member named `address' > SNMP.xs:3792: structure has no member named `address' > SNMP.xs:3797: structure has no member named `address' > make: *** [SNMP.o] Error 1 > > > Is there something I can do to get this to compile? > > Thanks, > Matt "Mr. Muskrat" Musgrove > Perl contractor, EFJohnson > VP, D/FW Perl Mongers > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ 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
