Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30439 - net-snmp, tkmib, dev-perl/Tk and (finally) Net-SNMP
Summary: net-snmp, tkmib, dev-perl/Tk and (finally) Net-SNMP
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 15:43 UTC by Marc 'huz' REYNES
Modified: 2016-03-23 01:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 'huz' REYNES 2003-10-05 15:43:47 UTC
Hi,

1) net-snmp comes with tkmib which need perl-tk and a Net-SNMP module. perl-tk and Net-SNMP aren't emerged though .. maybe it would be a good idea to add 2 IUSE "tcltk" and "perl" for this point
2) I emerged perl-tk without any problem an tkmib handles it well. The problem arrives with Net-SNMP. It is emerged without any problem, _but_ tkmib doesn't manage to load it.
I hacked /usr/bin/tkmib (sorry it isn't a true patch)
line 9:
- my $havesnmp = eval {require SNMP;};
+ my $havesnmp = eval {require Net::SNMP;};

but it isn't apparently sufficient as we get some errors when we launch tkmib.
I am not a perl hacker thus I can help.

Hope we'll have a working net-snmp package in the future ..
Comment 1 Max Kalika (RETIRED) gentoo-dev 2003-10-20 00:01:54 UTC
Please give net-snmp-5.0.9-r2 a spin.  Make sure you have USE=perl enabled.
 BTW, Net-SNMP is a seperate perl module.  net-snmp comes with the NetSNMP
perl module needed for mib2c and tkmib.  All of this is now enabled if you
put 'perl' in your USE=flags.