[xml] =?utf-8?q?Building_libxml2_from_svn_-_undefined_macro=3A_?= =?utf-8?q?=5Fm4=5Fdivert=5Fdiversion?=



Hello all,

I am trying to use MSYS and MinGW on Windows to build libxml2 from svn. There 
is no configure script, so I ran:

$ sh autogen.sh

It returns the following error message:
configure.in:4: error: m4_defn: undefined macro: _m4_divert_diversion

I *can* build from the release version, so I suppose that I could just copy the 
configure script from that package, but this should probably be fixed anyway.

I am running:

$ autoconf --version
autoconf (GNU Autoconf) 2.61

$ libtool --version
ltmain.sh (GNU libtool) 1.5.25a (1.1220.2.458 2007/06/30 09:32:00)

$ automake --version
automake (GNU automake) 1.10

$ m4 --version
GNU M4 1.4.7

$ perl --version
This is perl, v5.6.1 built for msys

The full output of `sh -x autogen.sh' is below:

$ sh -x autogen.sh
++ dirname autogen.sh
+ srcdir=.
+ test -z .
++ pwd
+ THEDIR=/c/docume~1/johnbrown105/mydocu~1/downloads/libxml2
+ cd .
+ DIE=0
+ test 0 -eq 1
+ test -f entities.c
+ test -z ''
+ echo 'I am going to run ./configure with no arguments - if you wish '
I am going to run ./configure with no arguments - if you wish
+ echo 'to pass any to it, please specify them on the autogen.sh command line.'
to pass any to it, please specify them on the autogen.sh command line.
+ libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
+ aclocal
configure.in:3: error: m4_defn: undefined macro: _m4_divert_diversion
configure.in:3: the top level
autom4te: /bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
+ automake --add-missing
configure.in:4: error: m4_defn: undefined macro: _m4_divert_diversion
configure.in:4: the top level
autom4te: /bin/m4 failed with exit status: 1
automake: autoconf failed with exit status: 1
+ autoconf
configure.in:4: error: m4_defn: undefined macro: _m4_divert_diversion
configure.in:4: the top level
autom4te: /bin/m4 failed with exit status: 1
+ cd /c/docume~1/johnbrown105/mydocu~1/downloads/libxml2
+ test x '!=' x
+ ./configure
autogen.sh: line 61: ./configure: No such file or directory
+ echo

+ echo 'Now type '\''make'\'' to compile libxml.'
Now type 'make' to compile libxml.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]