Re: Mib2c /Win32

"jdx" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <016f01c5e47c$406bc750$1601a8c0@JED3000>
Well, thank you for your first answer ;
for I could not find the files, I've go to 5.2.
(just compiled from a few weeks :   Build date:  October 18, 2005)
And that time I found good mib2c.*.conf files, but....

>2°/ with net-snmp-5.2.2.pre1-1.win32.exe
>( 
>http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.2.pre1-1.win32.exe 
> )
>    No mfd-top.m2c file (In Linux tar file, they are in: 
> ./local/mib2c-conf.d/*  => where to copy them in Windows tree ?
>
>    And I didn't succeed to get mib2c(.pl) using MIB files in another place
>   than default directory c:/usr/share/snmp/mibs,
>   unless I was using c:/usr/etc/snmp/mib2c.conf
>   with various parameters for mibs .....
>
> And may I suggest to rename Perl scripts in .pl
> (for the BAT files aren't mandatory !  /XP )
>
The exact message is :
    Can't find a configuration file called mfd-top.m2c
    (referenced at ./mib2c.mfd.conf:16)
    I looked in:

It may smell like I also made mistakes in conf file,
but I'm not surte of it in C:/usr/etc/snmp =
    mibdirs C:/usr/work;C:/usr/share/snmp/mibs
    persistentDir C:/usr/snmp/persist
    tempFilePattern C:/usr/temp/snmpdXXXXXX

So, I found numerous *.m2? files in Linux Version,
but these are not installed in Windows package !

Could you explain where to unpack them from the Linux .tar.gz !

And another question, could you correct my mib2c.conf file upper ?
How to get more directories ?

Thanks
jdx


PS: for Win32 packaging..
When I was modifying MIB2C.bat
adding just:  SET MIBS=ALL in second line,
it works better, but still asks for IANA-RTPROTO-MIB.txt
that I supplied for another tool. May be it would be added to package.

Another question, if you please :
why does this script ( MIB2C.bat ) call just the <same-name-perl-script>
is it just not to have to rename Perl scripts with a .pl extension ?
Or is there any other better reason ? For I didn't understand
why to have two calls on IF test like :
if "%OS%"=="Windows_NT" goto ...


Many thanks you have read me..
----- Original Message ----- 
From: "taner memet ali" <[email protected]>
To: "net-snmp-users" <[email protected]>; "jdx" 
<[email protected]>
Sent: Tuesday, November 08, 2005 3:14 PM
Subject: Re: Mib2c /Win32


> Hi,
>
>>I've got more difficulties with Net-SNMP 5.x /WinXP
>>1°/ with Net-SNMP v5.1.3-1
>>(http://prdownloads.sourceforge.net/net-snmp/net->snmp-5.1.3-1.win32.exe?download 
>> )
>> No  mib2c.*.conf
>
> in my installation the files are in C:\usr\share\snmp\mib2c-data.You can 
> copy the mib2c.*.conf's from the source of 5.1.3-1 /local folder
>
> with best regards
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. 
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> 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
>
> 




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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.