Difference between revisions of "PyWrapper"
m |
m |
||
Line 16: | Line 16: | ||
− | Used xslt 1.1.9. ( | + | Used xslt 1.1.9. (the default install in OS X 1.3.9), and it failed |
+ | |||
+ | Found 1.1.19 here: ftp://fr.rpmfind.net/pub/libxml/ | ||
Revision as of 13:03, 30 December 2006
Notes on getting pyWrapper to link to mx
The installation guide is here: http://trac.pywrapper.org/pywrapper/wiki/InstallationGuide
for OS X (10.3.9)
Steps 1 and 2 went off without a hitch after I installed the latest version of Python (2.4).
There may be some problems with the default versions of libxml and the xslt libraries. To update libxml2 and libxslt try looking here for hints:
http://jamesclarke.info/notes/libxml2
Some of the links at http://xmlsoft.org/XSLT/downloads.html -> downloads don't have the latest version of libxml2 OR libxslt. I eventually found them here (using 2.6.9):
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/
Used xslt 1.1.9. (the default install in OS X 1.3.9), and it failed
Found 1.1.19 here: ftp://fr.rpmfind.net/pub/libxml/
I followed James' instructions with this difference in the flag for both libxml2 and libxslt ./configure commands (this vs. the updated version of Python):
./configure --with-python=/Library/Frameworks/Python.framework/Versions/2.4/
The other flags need to be included.
lxml still dying, the current error is:
In file included from src/lxml/etree.c:27: /usr/local/include/libxml2/libxml/xmlstring.h:29: error: redefinition of `xmlChar' <much more barfing>
I'm using
python setup.py build_ext -i -I /usr/local/include/libxml2
Once libxml and libxslt are install try this to see what version is running
xsltproc --version