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. _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
