On Thu, 2005-10-06 at 09:27 +0200, Eirik Nordbrøden wrote:
> I have some problems with using mib2c to generate code for my
> enterprise specific mib on the 5.2.1.2 release/Linux Fedora core 4.

> I have located the problem to mib2c that uses an other default value
> for the MIBDIRS environment variable than my installation version
> (/usr/share/snmp/mibs in stead of /usr/local/share/snmp/mibs).

That looks suspiciously as if the perl module was compiled using a
Fedora-supplied Net-SNMP library, rather than your own installation.

Did you remove the original net-snmp RPM before compiling and
installing the source version?


> My /usr/local/share/snmp directory is also missing some of the
> mib2c conf files that I want to use (mib2c.table_data.conf and
> others). Is this also an installation issue?

Probably.
Both 'mib2c.table_data.conf' and 'mib2c.container.conf' were
omitted from the list of mib2c templates to install.  This
has since been fixed.
  You can safely copy these two files from the source tree
into place.

I can't spot any other relevant changes between the 5.2.1.2
sources and the current 5.2.x CVS tree - what other mib2c
templates are you missing?

Dave


-------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to