Re: Problems with net-snmp on cygwin

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 10/29/12 17:50, Lee wrote:
> On 10/29/12, Bart Van Assche <[email protected]> wrote:
>> On 10/28/12 21:51, Lee wrote:
>>> On 10/28/12, Patrick Rebert <[email protected]> wrote:
>>>> Thanks for the reply, I actually did try it with semicolons.
>>>> Unfortunately, the
>>>> shell sees the semicolon as a command terminator, so that didn't advance
>>>> the cause.
>>>
>>> It's easier to build net-snmp with cygwin than it is to get the dos
>>> version of net-snmp to work properly under cygwin.  I submitted a
>>> patch a while back for building net-snmp for cygwin:
>>>
>>> http://sourceforge.net/tracker/?func=detail&aid=3395862&group_id=12694&atid=312694
>>> should at least give you an idea of what's needed.
>>
>> It isn't necessary anymore to modify the Net-SNMP source code in order
>> to switch from semicolon to colon as a separator character. All you
>> have to do is to set the ENV_SEPARATOR character before running
>> configure. A quote from README.win32:
>>
>> ENV_SEPARATOR=":" \
>> ./configure \
>>          --with-mib-modules="host agentx disman/event-mib examples/example"
>> \
>>          --with-out-mib-modules=host/hr_network
>
> I must be missing something; I can't find that in net-snmp-5.7.2.tar.gz
> Where did your README.win32 come from?

 From the master branch. I've just backported that feature to the 5.7 
branch.

Bart.


------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
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.