Bug 18272 - tkmib doesn't work with default install
tkmib doesn't work with default install
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: ucd-snmp (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
:
: 16582 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-03 18:50 EDT by Jules Agee
Modified: 2015-03-04 20:08 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-07 14:33:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jules Agee 2000-10-03 18:50:15 EDT
After installing RedHat 7.0 with the ucd-snmp and ucd-snmp-utils rpms, it
was a big pain-in-the-tuckus to get tkmib working, and it shouldn't have
been. Here's the saga:

1) tkmib complains about missing tk.pm (doesn't complain about missing
any other dependencies). 

2) No problem - downloaded, compiled, installed tk.pm. 

3) Run it again - now tkmib complains about missing SNMP.pm. Irritating
- how many more modules am I missing? View tkmib source - nope, that's
it, just tk and SNMP modules are used...

4) Download SNMP.pm package from CPAN. Makefile.PL asks for location of
ucd-snmp include files. Don't have any - I installed from the binary RPM,
which apparently doesn't install these. Grrr.

5) Download ucd-snmp source RPM, and install. Untar the sources. View
SNMP.pm's Makefile.PL, to figure out exactly which include files it's
looking for. It apparently is seeking a directory called ucd-snmp,
containing such goodies as ucd-snmp-config.h, with many others. It expects
this directory to be in /usr/local/include. 

In order to get this to work correctly, I have to install ucd-snmp from the
.tar.gz distribution, which installs the include files that SNMP.pm needs
that weren't installed by the RPM. Then SNMP.pm installs, and tkmib works.
Comment 1 Jeff Johnson 2000-10-12 11:44:20 EDT
*** Bug 16582 has been marked as a duplicate of this bug. ***
Comment 2 Wes Hardaker 2001-02-14 11:29:32 EST
The perl CPAN module needs updating and a SNMP perl module RPM could really be used (as well as a Tk perl module rpm).

Note You need to log in before you can comment on or make changes to this bug.