mib2c doesn't work properly > emerge Net-SNMP > emerge net-snmp > mib2c MY-MIB.txt ERROR: You don't have the SNMP perl module installed. Please obtain this by getting the latest source release of the net-snmp toolkit from http://www.net-snmp.org/download/ . Once you download the source and unpack it, the perl module is contained in the perl/SNMP directory. See the INSTALL file there for instructions.
Oh. I should have mentioned: * dev-perl/Net-SNMP Latest version available: 4.1.0-r1 Latest version installed: 4.1.0-r1 Size of downloaded files: 68 kB Homepage: http://www.cpan.org/modules/by-module/Net/Net-SNMP-4.1.0.readme Description: A SNMP Perl Module * net-analyzer/net-snmp Latest version available: 5.0.6-r1 Latest version installed: 5.0.6-r1 Size of downloaded files: 2,157 kB Homepage: http://net-snmp.sourceforge.net/ Description: Software for generating and retrieving SNMP data * dev-lang/perl Latest version available: 5.8.0-r12 Latest version installed: 5.8.0-r12 Size of downloaded files: 10,854 kB Homepage: http://www.perl.org/ Description: Larry Wall's Practical Extraction and Reporting Language
try ucd-snmp
Same thing with ucd-snmp.
does it still not work with net-snmp-5.0.9-r1?
Yes, 5.0.9-r1 does not work any better. Does anybody else have mib2c working properly?
Ok, the perl support that comes with net-snmp is not getting installed. I'll work on getting this optionally depended on the perl USE flag. Stay tuned.
Please give net-snmp-5.0.9-r2 a spin. Make sure you have USE=perl enabled.