[lxml-dev] Help getting lxml to work reliably on MacOS-X
Christian Zagrodnick
cz at gocept.com
Tue Feb 5 14:01:32 CET 2008
Hey,
On 2008-02-04 09:45:37 +0100, Stefan Behnel <stefan_ml at behnel.de> said:
> Hi,
>
> it looks like many Mac users have problems with lxml on their platform. This
> usually involves installing up-to-date dependencies (libxml2/libxslt) in
> addition to the system libraries. I would like to get these problems resolved.
>
> To get a start on this, we must collect some information. We had a few
> reports, but I need to know in more detail what people did, what they tried,
> and to what avail. So here is a list of questions for Mac users. Please help
> us by answering them. Some instructions follow at the end.
>
> When building lxml, please move any installed Cython versions out of the way
> and run the build on the unpacked lxml-2.0.tar.gz release sources. It must say
> "trying to build without Cython" at the beginning.
>
> Please provide the following information:
>
> - what package management system (fink/macports) do you use?
We use buidout for the development/deployment. Via buildout we build
basically everything to be sure we get consistent results:
[libxml2]
recipe = zc.recipe.cmmi
url = http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.26.tar.gz
extra_options = --without-python
[libxslt]
recipe = zc.recipe.cmmi
url = http://ftp.gnome.org/pub/GNOME/sources/libxslt/1.1/libxslt-1.1.16.tar.bz2
extra_options = --with-libxml-prefix=${buildout:directory}/parts/libxml2/
--without-python
[lxml]
recipe = zc.recipe.egg:custom
egg = lxml
include-dirs = ${buildout:directory}/parts/libxml2/include/libxml2
${buildout:directory}/parts/libxslt/include
library-dirs = ${buildout:directory}/parts/libxml2/lib
${buildout:directory}/parts/libxslt/lib
rpath = ${buildout:directory}/parts/libxml2/lib
${buildout:directory}/parts/libxslt/lib
>
> - are you using the stock Python or one that is installed separately?
Custom built python wich *nothing* else installed.
[....]
I'll look after the other things when i've got more time. But basically
since using buildout we're fine :)
--
Christian Zagrodnick
gocept gmbh & co. kg · forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891
More information about the lxml-dev
mailing list