10 May 23:43
install lxml 2.0.5 on Mac OS X Leopard - why is it so hard?
From: Kumar McMillan <kumar.mcmillan <at> gmail.com>
Subject: install lxml 2.0.5 on Mac OS X Leopard - why is it so hard?
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-05-10 21:46:00 GMT
Subject: install lxml 2.0.5 on Mac OS X Leopard - why is it so hard?
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-05-10 21:46:00 GMT
I know this has been discussed over and over but I'm writing to see if anyone has made a breakthrough yet. The problem of course is that Leopard's builtin libxml2 and libxslt are too old for lxml 2.0. You have to build libxml2 either from source or use a port. There is currently a problem with the libxml2 port, but the workaround is going fine for me: http://trac.macports.org/ticket/15230 (I know because postgres built just fine and I have some tests exerising psycopg2 as well) So after updating my libxml2 to 2.6.31 and libxslt to 1.1.23 and updating my $PATH so that the new xml2-config and xslt-config can be found, I can build lxml *without errors* but I see these warnings: $ sudo easy_install lxml-2.0.5.tgz Processing lxml-2.0.5.tgz Running lxml-2.0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3azY8e/lxml-2.0.5/egg-dist-tmp-t80esG Building lxml version 2.0.5. NOTE: Trying to build without Cython, pre-generated 'src/lxml/etree.c' needs to be available. Using build configuration of libxslt 1.1.23 ld: warning in /opt/local/lib/libxslt.dylib, file is not of required architecture ld: warning in /opt/local/lib/libexslt.dylib, file is not of required architecture ld: warning in /opt/local/lib/libxml2.dylib, file is not of required architecture [... and more like this ...] ...(Continue reading)
RSS Feed