build issues

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Sat Dec 02 2006 - 21:53:51 CET

Hi,

I encountered some problems today with cvs HEAD.

* autogen.sh does not work with automake-1.10. I could make it work with
the following patch (I am not a perl expert, so it might be possible to
do much better):
 
diff -u -5 -r1.22 autogen.sh
--- autogen.sh 24 Nov 2006 19:14:18 -0000 1.22
+++ autogen.sh 2 Dec 2006 20:44:53 -0000
@@ -15,11 +15,11 @@
 test -z "$srcdir" && srcdir=.
 
 olddir=`pwd`
 cd $srcdir
 
-automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/)
{print; if ($1 < 1.4) {exit 1;}}'
+automake --version | perl -ne 'if (/\(GNU automake\)
([0-9].[0-9][0-9])/) {print; exit 0;} elsif (/\(GNU automake\)
([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}} else {exit 1;}'
 
 if [ $? -ne 0 ]; then
     echo "Error: you need automake 1.4 or later. Please upgrade."
     exit 1
 fi

* even when not building with --enable-abilibrary, the headers and the
pc file are installed, which seems a bug to me, especially the pc file.

* when installing the library, the ld database is not updated.

Cheers,
Jean
Received on Sat Dec 2 21:48:45 2006

This archive was generated by hypermail 2.1.8 : Sat Dec 02 2006 - 21:48:45 CET