Yup. I just finished building the Net-SNMP package v5.1.2 from the src.rpm file on SourceForge. It's a bit tricky upgrading on RedHat, due to dependency issues, so I'm not sure this implementation is ready for a production server, BUT...

Yes, you're right. Once I get this worked out, I need to update the Makefile.PL. Right now, I think it accepts SNMP >= 4.1.2...

WARNING! Do not confuse the Net-SNMP libraries with the Net::SNMP Perl module available on CPAN!

To tell the difference:

use Net::SNMP; # Comes from CPAN. use SNMP; # Comes from Net-SNMP library.

Yeah, it sucks, but at least one can tell the difference. The Net-SNMP module came first, but at the time, the library was called "UCD-SNMP". The name change make sense from the C standpoint, but is unfortunate from a Perl standpoint.

Anyway, the thing built, with a little tweak to the specfile, and installed with --nodeps. A little more work and I'm back to the original problem. :-)

--J

Update: To get the net-snmp-5.1.2-1.src.rpm to build properly and install safely, I had to...

up2date -i beecrypt-devel perl -eshell -MCPAN cpan> install Term::ReadKey cpan> install Tk rpm -ivh net-snmp-5.1.2-1.src.rpm cd /usr/src/redhat/SPECS rpmbuild -ba --clean --target i686 --with perl_modules net-snmp.spec rpm --erase net-snmp-devel net-snmp-utils net-snmp-perl cd /usr/src/redhat/RPMS/i686 rpm --nodeps -Uvh net-snmp-5.1.2-1.i686.rpm rpm -ivh net-snmp-devel-5.1.2-1.i686.rpm rpm -ivh net-snmp-perlmods-5.1.2-1.i686.rpm

So far, Ethereal still works (and decodes SNMP packets properly), and my t/Basic.t no longer fails. Woo hoo!


In reply to Re^2: MakeMaker, testing, and packages with modules by Rhys
in thread MakeMaker, testing, and packages with modules by Rhys

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.