> -----Original Message-----
> From: Dave Shield [mailto:[EMAIL PROTECTED] 
> Sent: 6. oktober 2005 14:31
> To: Eirik Nordbrøden
> Cc: [email protected]
> Subject: Re: Problems with mib2c on 5.2.1.2
> 
> 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?

This might actually be the problem since net-snmp-5.2.1-12.rpm and 
net-snmp-lib-5.2.1-12.rpm are installed as part of Fedora Core 4. I did not 
notice that, only that the net-snmp-utils package was not installed. The 
problem is that I cannot easily remove them since there are dependencies to 
other package that are installed (kdeutils/hpoj). But why does the SNMP perl 
installation use these libraries and not the ones I have specified with the 
configure script?

> 
> 
> > 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.

These are the two I have found that were missing.
> 
> 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