Hi everyone,
I propose to modify the configure.ac in that way ...
(someone else could test my patch before I commit?)
--- configure.ac 2010-03-15 10:25:15.000000000 +0100
+++ configure.ac2 2010-03-15 10:24:10.000000000 +0100
@@ -311,14 +311,7 @@
CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x501"
fi
-AC_MSG_CHECKING(for libxml2)
-
-if $PACKAGE_CONFIG --exists libxml-2.0; then
- AC_MSG_RESULT(yes)
-else
- AC_MSG_RESULT(no)
- check_libxml="no"
-fi
+PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= 2.7.3, [],
[AC_MSG_FAILURE([libxml2 >= 2.7.3 not found])])
dnl === Display error if SDL image, mixer, etc. is missing
==================
@@ -347,9 +340,6 @@
if test x${check_sdl_net} = xno; then
AC_MSG_RESULT([ERROR: SDL_net library required])
fi
- if test x${check_libxml} = xno; then
- AC_MSG_RESULT([ERROR: libxml2 not found!])
- fi
if test x${check_curl} = xno; then
AC_MSG_RESULT([ERROR: libcurl not found!])
fi
Le lundi 15 mars 2010 à 09:15 +0100, Matthieu Fertré a écrit :
> Hi,
>
> > Ubuntu 9.10 packages of Wormux 0.9.1 are now available in our PPA.
> >
>
> Great :) I was unable to make it, upload of the description files was
> blocking at 1Ko of the end...
>
> > I can't however make a package for Ubuntu 8.04 as Wormux does not
> > compile any more at that system:
> >
> > tool/xml_document.cpp: In member function 'long unsigned int
> > XmlReader::GetNbChildren(const xmlNode*)':
> > tool/xml_document.cpp:175: error: 'xmlChildElementCount' was not
> > declared in this scope
> > tool/xml_document.cpp: In member function 'const xmlNode*
> > XmlReader::GetFirstChild(const xmlNode*)':
> > tool/xml_document.cpp:180: error: 'xmlFirstElementChild' was not
> > declared in this scope
> > tool/xml_document.cpp: In member function 'const xmlNode*
> > XmlReader::GetNextSibling(const xmlNode*)':
> > tool/xml_document.cpp:185: error: 'xmlNextElementSibling' was not
> > declared in this scope
> >
>
> The same applies for debian lenny. Kurosu is right, we should fix the
> configure check. Lami, you have introduced this code, could you fix the
> check ?
>
> Anyway, in 0.9.1, there are not used, so you can just modify the code
> and return NULL. This is what I have done to make the standalone linux
> package on debian lenny chroot.
>
> Regards,
>
> Matt (gentildemon)
>
>
> > Best regards,
> > Florian
> >
> > Matthieu Fertré wrote:
> >
> >> Hi,
> >>
> >> Wormux 0.9.1 has been released!
> >>
> >> source archive is here: http://download.gna.org/wormux/wormux-0.9.1.tar.bz2
> >> svn tag available here for packager needing cmake:
> >> svn://svn.gna.org/svn/wormux/tags/wormux-0.9.1
> >>
> >> Regards,
> >>
> >> Matt (gentildemon)
> >>
> >>
> >> _______________________________________________
> >> Wormux-dev mailing list
> >> [email protected]
> >> https://mail.gna.org/listinfo/wormux-dev
> >>
> >>
> >>
> >>
> >
> > _______________________________________________
> > Wormux-dev mailing list
> > [email protected]
> > https://mail.gna.org/listinfo/wormux-dev
> >
>
> _______________________________________________
> Wormux-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/wormux-dev
_______________________________________________
Wormux-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-dev