Re: [xml] Release of libxml2-2.6.16



Hi Daniel,

Andreas, please see at the botttom of this mail.

    A new release hit the server:
      ftp://xmlsoft.org/ and GNOME FTP mirrors
      http://xmlsoft.org/

I'm getting this error when building outside the sourcetree:

Making all in .
make[2]: Entering directory `/ftproot/pub/libxml2/libxml2-2.6.16/.build'
/bin/python: can't open file 'gentest.py'
make[2]: [testapi.c] Error 2 (ignored)
if ccache gcc -DHAVE_CONFIG_H -I. -I/ftproot/pub/libxml2/libxml2-2.6.16 -I. -I./include -I/ftproot/pub/libxml2/libxml2-2.6.16/include -D_REENTRANT -DLIBXML_THREAD_ALLOC_ENABLED -g0 -O3 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT testapi.o -MD -MP -MF ".deps/testapi.Tpo" -c -o testapi.o testapi.c; \ then mv -f ".deps/testapi.Tpo" ".deps/testapi.Po"; else rm -f ".deps/testapi.Tpo"; exit 1; fi
gcc: testapi.c: No such file or directory
gcc: no input files
make[2]: *** [testapi.o] Error 1
make[2]: Leaving directory `/ftproot/pub/libxml2/libxml2-2.6.16/.build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ftproot/pub/libxml2/libxml2-2.6.16/.build'
make: *** [all] Error 2

Suggested fix: rename gentest.py and doc/libxml2-api.xml to gentest.py.in doc/libxml2-api.xml.in and let configure generate them as output files in the buildtree (include with AC_OUTPUT), then it should work.

And what does this mean in configure.in?
"# keep on one line for cygwin c.f. #130896"

There are no problems with having this on several lines on my Cygwin, and I'm the Cygwin Libxml2 maintainer! I use standard default configure.ac files every day never saw problems with this issue. Maybe it doesn't work with MinGW or Windows, but hey, who has told the Andreas that it will work on Windows?


Gerrit
--
=^..^=



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