[gcompris-devel] Re: gcompris not building

ydirson at fr.alcove.com ydirson at fr.alcove.com
Wed Mar 27 05:54:06 UTC 2002


On Wed, Mar 27, 2002 at 02:35:23PM +0100, Bruno Coudoin wrote:
> So I have recreated my aclocal.m4 but the string.h is not there.
> What must I do ?

You probably have something like /usr/share/aclocal/libxml.m4 on your
system.  Does it include string.h in the relevant AC_TRY_RUN ?

If not, maybe you'll have to upgrade the package that provides this
file, or I can send you the one currently in Debian, which I suppose
you can include in the macros/ dir.

After checking, the Debian package for libxml2 2.4.16-2 contains the
following patch...

==========
--- libxml2-2.4.16.orig/libxml.m4
+++ libxml2-2.4.16/libxml.m4
@@ -59,6 +59,7 @@
       AC_TRY_RUN([
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <libxml/tree.h>
 
 int 
@@ -253,6 +254,7 @@
       AC_TRY_RUN([
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <xmlversion.h>
 
 int 
==========

Just noticed that 2.4.19 is out.  Looking at their CVS, it looks like
the fix is not there (no change to this file since last August).

I'll contact the Debian maintainer to check why this has not been
integrated upstream.

Regards,
-- 
Yann Dirson <Yann.Dirson at fr.alcove.com>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson at debian.org)                        Développeur Debian




More information about the Gcompris-devel mailing list