In case anyone else ever runs into this 'mystifying' problem in getting
net-snmp to build in a cygwin environment -- I FOUND THE SOLUTION! 
...and will be selling it on E-Bay.. :-)    Just kidding!

The problem was that the directory I was building from on my Win2k box
was in a path with s p a c e s in the path: 
"cygdrive/c/Documents and Settings/dougm", 
and libtool could not build the filespecs appropriately (at least I
*think* it was libtool).   I figured it out by manually running failed
command and adding -d to the libtool command.   The output looked...
well... wrong.   Once I relocated the build environment to a 'safe'
directory with no spaces in the path (/tmp)  and redefined $HOME just to
be safe, the build *worked*.

So -- there you have it.   Something for the release notes.

It only took me a YEAR to figure this out.   Man!

/doug


----- Forwarded message from Doug McPherson <[EMAIL PROTECTED]> -----

Date: Wed, 23 Jul 2003 14:33:54 -0400
From: Doug McPherson <[EMAIL PROTECTED]>
To: Robert Story <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Cygwin-based build on Win2k Professional

net-snmp-config reports what appears to be a blank line.  :-(

$ ./net-snmp-config --configure-options

$ 

Bummer.  Thanks for the reply anyway.    
I'm giving up.
/doug

On or about Thu, Jul 17, 2003 at 11:05:26AM -0400, Robert Story wrote:
> On Thu, 12 Jun 2003 09:44:39 -0400 Doug wrote:
> DM> I'm trying to build 5.0.8 on Win2k Professional PC at work.
> DM> 
> DM> Question 2:
> DM> ./configure seems to go ok, but make ends with this error:
> DM> 
> DM> make[2]: Leaving directory `/cygdrive/c/Documents and
> DM> Settings/mcphersond/My
> DM> Documents/Downloads/net-snmp-5.0.8/apps/snmpnetstat'/bin/sh ../libtool 
> DM> --mode=link gcc -o snmpget.exe snmpget.lo -L../snmplib -L../agent
> DM> -L../agent/helpers  ../snmplib/libnetsnmp.la-lm libtool: link: cannot find
> DM> the library `' make[1]: *** [snmpget.exe] Error 1
> DM> make[1]: Leaving directory `/cygdrive/c/Documents and
> DM> Settings/mcphersond/My Documents/Downloads/net-snmp-5.0.8/apps' make: ***
> DM> [subdirs] Error 1
> DM> 
> DM> Why is it looking for library `'  ?!?  Looks like something isn't
> DM> defined correctly by configure ?
> 
> I just unpacked 5.0.8 on a fresh cygwin install, and it build with no problems.
> 
> What does 'net-snmp-config --configure-options' report?
> 
> -- 
> Robert Story; NET-SNMP Junkie, NET-POLICY Flunkie
> <irc://irc.openprojects.net/#net-snmp>   <http://www.net-snmp.org/>
> <irc://irc.openprojects.net/#net-policy> <http://net-policy.sourceforge.net/>
> 
> You are lost in a twisty maze of little standards, all different. 

-- 

----- End forwarded message -----

-- 
 Please sponsor me on the 2004 Pan Mass Challenge and help fund 
 cancer research!  You can make secure donations here:
   http://www.pmc.org/egifts/makeadonation.asp?EgiftID=DM0192


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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

Reply via email to