Hash: SHA1

Jim Fulton wrote:

> I'm not familiar with the static-deps option. To what? Its setup.py?

 $ wget http://pypi.python.org/packages/source/l/lxml/lxml-2.2.2.tar.gz
 $ tar xzf lxml-2.2.2.tar.gz
 $ cd lxml-2.2.2
 $ /path/to/python setup.py bdist_egg --static-deps

> It didn't install cleanly for me on Centos 4.  (I've generally had  
> difficulty with libxml2 and libxslt on Red Hat based systems,) I'm  
> sure if I screwed around with it, I could get it to work.  I don't  
> want to screw around with it just to work on ZTK libraries, which  
> don't actually depend on it.  I will if I have to.  I ended up using  
> an Ubuntu VM to work on it.  I'd prefer not to have to.
> I'm sad to say this.  I think lxml is a worthy project.  It's a shame  
> that the system installs of libxml2 and libxslt are such a PITA.  I  
> wonder if it would be better for lxml to include it's own copies of  
> these libraries that it built and linked against statically.

That is what --static-deps' does:  it downloads and builds libxml2 /
libxslt from source, and links them statically into the .so / .dll /
.pyd file for lxml.

> Will lxml look somewhere in /usr/local? I wonder if hand-built libxml2  
> and libxslt libraries in /usr/local would make lxml easier to deal with.

I would just use --static-deps (works well for me on CentOS4, for instance).

- --
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to