Re: mib2c
Thomas Anders <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Eugen wrote:
> When trying to run mib2c I received that error message than, following
> the instructions, I've installed the net-snmp-perlmods-5.2.1.2-1
> directly from the binary downloaded on the same net-snmp web page
> (net-snmp-perlmods-5.2.1.2-1.i686.rpm since I didn't found the rpm
> source of this module).
>
> Then I was very surprised to receive the same error message (You don't
> have the SNMP perl module installed) when trying to execute mib2c.
>
> Could this be caused by the fact that the binaries generated from the
> net-snmp source package have all the extension *i386.rpm versus
> net-snmp-perlmods-5.2.1.2-1.i686.rpm ?
>
> And another thing. After the net-snmp-perlmods installation I was
> expecting to have some file or directory containing the name mib2c but
> what I have is:
>
>>rpm -ql net-snmp-perlmods-5.2.1.2-1
>
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/NetSNMP/ASN.pm
{...]
What's the output of
perl -e 'print join(":",@INC), "\n"'
on your system? I'd bet it does *not* include the pathnames used in the
binary rpm.
Try changing the first line of mib2c from
#!/usr/bin/perl
to
#!/usr/bin/perl
-I/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
(in one line) as a temporary workaround (just to be able to run mib2c).
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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