On 7/6/11, Lee <[email protected]> wrote: > 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,
yes, apparently it does > 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. I was curious; I tried again. cd /source/net-snmp-5.7 make uninstall manually deleted remnants left in /usr/local directories deleted /source/net-snmp-5.7 extract the tarball from SF into /source/net-snmp-5.7 ... everything else the same as before except for leaving off --with-libs="-lws2_32" and it worked this time :) >> Note: specifying --with-libs="-lws2_32" is not necessary with Net-SNMP >> version 5.7. > > Thanks. I'll give that a try I left it off & no complaints from configure or make. Thanks, 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
