Re: [xml] Release of libxml2-2.6.16



Daniel Veillard wrote:
On Wed, Nov 10, 2004 at 11:45:38PM +0100, Gerrit P. Haase wrote:
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'
[...]
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 !

Yes, I know I have the file here too, I don't know why gentest.py is called. It is probably a libtool / automake feature;)


Gerrit
--
=^..^=



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