Re: [xml] Release of libxml2-2.6.16
- From: Daniel Veillard <veillard redhat com>
- To: "Gerrit P. Haase" <gp familiehaase de>
- Cc: xml gnome org, andreas sedlmayr amatec de
- Subject: Re: [xml] Release of libxml2-2.6.16
- Date: Thu, 11 Nov 2004 11:04:21 -0500
On Wed, Nov 10, 2004 at 11:45:38PM +0100, Gerrit P. Haase wrote:
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'
Hum, testapi.c should be in the dource dir, even if rebuilding fails
it should still be there for compilation.
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.
I disagree. The fact that you can't regenerate the C file should not prevent
compiling it because it should be present in $(srcdir) anyway.
paphio:~/XML -> tar tvzf libxml2-2.6.16.tar.gz | grep testapi.c
-rw-rw-r-- 50138/69 1317100 2004-11-09 17:12:04 libxml2-2.6.16/testapi.c
paphio:~/XML ->
Now you need to understand why your make didn't found it in $(srcdir)
that's where the problem is !
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?
http://bugzilla.gnome.org/show_bug.cgi?id=130896
it broke, and it's not that old.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]