Hello
Building of libxml++ fails on systems with grep 2.7 as per my previous post
regarding PCRE.
See http://lists.gnu.org/archive/html/ltib/2011-06/msg00016.html for details.
The attached patches are as follows:
libxml++-1.0.5-grep.patch - changes the grep command in configure.
libxml++-spec-grep.patch - updates the spec file to apply the above patch.
Regards
Mark
--- dist/lfs-5.1/libxml++/libxml++.spec.bak 2011-07-05 14:11:50.364662149 +0100
+++ dist/lfs-5.1/libxml++/libxml++.spec 2011-07-05 14:14:38.761264014 +0100
@@ -11,6 +11,7 @@
URL : http://libxmlplusplus.sourceforge.net/
Source : %{name}-%{version}.tar.gz
Patch1 : libxml++-1.0.5-parser.patch
+Patch2 : libxml++-1.0.5-grep.patch
BuildRoot : %{_tmppath}/%{name}
Prefix : %{pfx}
Requires : libxml2
@@ -21,6 +22,7 @@
%Prep
%setup
%patch1 -p1
+%patch2 -p1
%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
diff --exclude CVS --exclude .git -uNr libxml++-1.0.5/configure libxml++-1.0.5.modified/configure
--- libxml++-1.0.5/configure 2005-09-27 19:58:07.000000000 +0100
+++ libxml++-1.0.5.modified/configure 2011-07-05 14:11:30.226574781 +0100
@@ -6849,7 +6849,7 @@
exit 1
fi
gentoo_lt_version="1.5.18"
-gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib