Re: vista/cygwin netsnmp 5.7 install fails using --with-out-mib-modules=examples

Lee <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAD8GWsvx08Rw8HBFnsn1KDE1Dudp6eKLE+cVeK+46zOgOrW5pg@mail.gmail.com>
On 7/6/11, Bart Van Assche <[email protected]> wrote:
> On Mon, Jul 4, 2011 at 5:38 PM, Lee <[email protected]> wrote:
>
>> Install of netsnmp 5.7 on Windows Vista using Cygwin fails with
>>  ...
>> making install in /source/net-snmp-5.7/man
>> make[1]: Entering directory `/source/net-snmp-5.7/man'
>> make[1]: *** No rule to make target `../sedscript', needed by
>> `snmpbulkget.1'.  Stop.
>> make[1]: Leaving directory `/source/net-snmp-5.7/man'
>> make: *** [installsubdirs] Error 1
>>
>> if I call configure with " --with-out-mib-modules=examples"
>>
>> Remove that one line and this works for me:
>> autoconf
>> autoheader
>> ./configure \
>>  --with-sys-contact="nobody" --with-sys-location="nowhere" \
>>  --with-logfile="/var/log/snmpd.log" \
>>  --with-persistent-directory="/var/net-snmp" \
>>  --with-out-mib-modules=ucd-snmp \
>>  --with-out-mib-modules=net-snmp \
>>  --disable-mibs \
>>  --disable-agent \
>>  --disable-scripts \
>>  --disable-embedded-perl --without-perl-modules \
>>  --disable-perl-cc-checks \
>>  --with-default-snmp-version="2" \
>>  --with-libs="-lws2_32"
>>
>
> Strange. I have tried to reproduce what you reported, but building and
> configuring works fine here. Are you sure that you started from a clean tree
> ?

Yup - I started from the .tar file downloaded from sourceforge.

Dunno if it makes any difference, but I forgot to 'make uninstall' the
5.6.1 version.  So when the 'make install' did work I had both the
/usr/local/bin/cygnetsnmpXX25.dll and 30.dll files.

If it's worth pursuing I can delete the source directory & try it again.

> Note: specifying --with-libs="-lws2_32" is not necessary with Net-SNMP
> version 5.7.

Thanks.  I'll give that a try

Lee

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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.