[torquedev] [Bug 210] Cannot configure 4.1-fixes on Ubuntu

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Tue Jul 31 19:24:03 MDT 2012


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=210

--- Comment #2 from Chris Samuel <chris at csamuel.org> 2012-07-31 19:24:03 MDT ---
I applied the patch to a pristine copy of 4.1-fixes and reran autogen.sh but it
still fails.  I checked and the configure script doesn't quite match what your
patch says, so my guess is that some meta-characters are getting expanded
unintentionally during generation:

samuel at eris:/tmp/4.1-fixes$ grep xml2-config configure
xmlLib=`xml2-config --libs | sed 's/-L^[:space:]* //g;s/-l//'`

So we've lost the [ and ] around the ^[:space:].

Running that command by hand shows:

samuel at eris:/tmp/4.1-fixes$ xml2-config --libs | sed 's/-L^[:space:]*
//g;s/-l//'
-L/usr/lib/x86_64inux-gnu -lxml2

Escaping the lost [ and ] doesn't help, I go from:

+xmlLib=`xml2-config --libs | sed 's/-L\[^[:space:]\]* //g;s/-l//'`

to:

xmlLib=`xml2-config --libs | sed 's/-L\^[:space:]\* //g;s/-l//'`

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list