Re: [xml] libxml2 python 2.3a problem with compile



On Wed, Mar 05, 2003 at 07:19:54AM +0100, Pavel Stehule wrote:
I am try build python binding with Python2.3a and libxml2.5.2. I compile 

  I never tried using python 2.3

[root stehule python]# python setup.py build
/usr/local/lib/python2.3/xmllib.py:10: DeprecationWarning: The xmllib 
module is obsolete.  Use xml.sax instead.

  The Python default XML API are a mess ...

  DeprecationWarning)
Found 1132 functions in libxml2-api.xml
Found 45 functions in libxml2-python-api.xml
Generated 691 wrapper functions, 302 failed, 184 skipped

GenericErrorFunc *:1
libxslt stub generator not found, libxslt not built

  No idea what this error is.

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 
-I/usr/include -I/usr/local/include/python2.3 -c libxml2-py.c -o 
build/temp.linux-i586-2.3/libxml2-py.o
In file included from libxml2-py.c:6:
libxml_wrap.h:20:30: libxml/xmlreader.h: není souborem ani adresáøem
libxml_wrap.h:21:28: libxml/relaxng.h: není souborem ani adresáøem
error: command 'gcc' failed with exit status 1

  I don't understand the messages.

Can you help me?. Do support libxml2 Python2.3?

  Hardly and no, I never tested 2.3 and it seems this breaks a lot
of stuff. Go back to 2.2 or debug the problem, maybe someone else
can work on it, I don't have time ATM to track this.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]