Re: Problem with python bindings and cygwin

Jack G Atkinson Jr <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> On 20/12/2007, Jack G Atkinson Jr <[email protected]> wrote:
>   
>>       However, on another machine where I freshly installed
>> cygwin, python, and netsnmp(compiled & installed), I get an error
>> message about not being able to find MIBs.
>>
>> Cannot find module (IP-MIB): At line 0 in (none)...
>>
>> I verified that the MIBS are located in the /usr/local/share/snmp/mibs
>> directory which is the same for the working installation.
>>     
>
> You should probably also check that the SNMP commands are
> actually looking in this particular directory.
>
> Try running with the option   -Dparse-mibs
> and check the debug output.   What directories does the
> library use for locating MIB files.
>
> Dave
>
>   
Here's the output.
parse-mibs: Scanning directory /home/.snmp/mibs:/usr/local/share/snmp/mibs
parse-mibs: cannot open MIB directory /home/.snmp/mibs:/usr/local/snmp/mibs

I know that /home/.smp/mibs does not exist, but the other does.  Any
idea why this is failing with one valid directory?

I'll try to add the other directory and see what happens.


-- 
------------------------------------------------------------------
Jack G. Atkinson Jr.
[email protected]
Romans 5:6-10 - God loved us while we were unlovable!
Luke 12:36-47 - Be ready!
------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.