[lxml-dev] Help getting lxml to work reliably on MacOS-X

Fabien xphuture at gmail.com
Fri Mar 14 15:57:25 CET 2008


Hello,

>  - what package management system (fink/macports) do you use?
macports

>  - are you using the stock Python or one that is installed separately?
the stock Python bundled with Leopard

>  - what library versions are you using of libxml2, libxslt, zlib, libiconv?
$ port installed |egrep 'libxml2|xslt|zlib|iconv'
  libiconv @1.12_0 (active)
  libxml2 @2.6.31_0 (active)
  libxslt @1.1.22_0 (active)
  zlib @1.2.3_1 (active)

When I'm trying to make the install, I get the following errors :

MacBook-Pro:Downloads jibaku$ sudo easy_install lxml==2.0.2
Searching for lxml==2.0.2
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.0.2
Downloading http://codespeak.net/lxml/lxml-2.0.2.tgz
Processing lxml-2.0.2.tgz
Running lxml-2.0.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install--6uwin/lxml-2.0.2/egg-dist-tmp-25cVmi
Building lxml version 2.0.2.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/etree.c'
needs to be available.
warning: no previously-included files found matching 'doc/pyrex.txt'
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
ld warning: in /opt/local/lib/libz.dylib, file is not of required architecture
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
ld warning: in /opt/local/lib/libz.dylib, file is not of required architecture
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
ld warning: in /opt/local/lib/libz.dylib, file is not of required architecture
No eggs found in
/tmp/easy_install--6uwin/lxml-2.0.2/egg-dist-tmp-25cVmi (setup script
problem?)

Thanks in advance

-- 
Fabien SCHWOB


More information about the lxml-dev mailing list