Re: [xml] Release of libxml2-2.6.16

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: and GNOME FTP mirrors

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 ''

  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 
-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 and doc/libxml2-api.xml to doc/ 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
"# 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 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?
  it broke, and it's not that old.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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