[xml] libxml2 python 2.3a problem with compile
- From: Pavel Stehule <stehule kix fsv cvut cz>
- To: xml gnome org
- Subject: [xml] libxml2 python 2.3a problem with compile
- Date: Wed, 5 Mar 2003 07:19:54 +0100 (CET)
Hello
I am try build python binding with Python2.3a and libxml2.5.2. I compile
libxml2 without any problems, but after python setup.py build I got this
message (I have RedHat7.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.
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
running build
running build_py
creating build
creating build/lib.linux-i586-2.3
copying libxml2.py -> build/lib.linux-i586-2.3
copying drv_libxml2.py -> build/lib.linux-i586-2.3
running build_ext
building 'libxml2mod' extension
creating build/temp.linux-i586-2.3
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
Can you help me?. Do support libxml2 Python2.3?
Thank you
Pavel Stehule
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]