Dave Shield wrote:
On Wed, 2005-05-04 at 19:18, Wes Hardaker wrote:
Dave> Patch #1109719: Remove (apparently) redundant quoting of
Dave> configure options.
err... I think the problem was that some OSes needed it and some
didn't...
Possibly.
The individual configure options are (single) quoted, and the
whole thing is (double) quoted, so I can't immediately see
why the extra set of quotes might be needed.
Maybe I need to dig back into the mailing list archives.
I think that may break other things now. I guess we'll see.
Indeed.
That's why I only applied this to the main development branch :-)
At least it potentially breaks the use of "net-snmp-config
--configure-options" for configure options (like --with-mib-modules)
containing *spaces*.
Here's what I usually do to configure the source exactly like the
system-installed version:
foo# net-snmp-config --version
5.2.1
foo# net-snmp-config --configure-options
'--prefix=/my/path' '--with-mib-modules=host disman/event-mib'
foo# eval ./configure `net-snmp-config --configure-options`
<works fine>
This fails with 5.3.dev because of the missing quotes:
foo# net-snmp-config --version
5.3.dev
foo# net-snmp-config --configure-options
--prefix=/my/path --with-mib-modules=host disman/event-mib
foo# eval ./configure `net-snmp-config --configure-options`
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: disman/event-mib
<fails miserably>
Am I missing something obvious to get the same functionality with 5.3.dev?
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders