[lxml-dev] How to specify library files location when building lxml?
lists at h2co3.com
lists at h2co3.com
Wed Jul 16 22:59:43 CEST 2008
Hi,
I've been struggling to get lxml built on Solaris 2.9 *without* root.
The problem seems to be that when I go to build lxml with easy_install it is
looking in /usr/lib (where very old versions exist) but I want it to use the
libxml and libxslt that are in /usr/local/lib. Is there a way to specify
that? I've checked all the options and distutils.cfg but can't figure out
how.
So far I have:
- built Python 2.5.1 from source
- setup virtual-env
- run easy_install with --prefix successfully to install modules
The output I see is:
bash-2.05$ easy_install --prefix=~/alt lxml
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.1
Downloading http://codespeak.net/lxml/lxml-2.1.tgz
Processing lxml-2.1.tgz
Running lxml-2.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-1-bIHk/lxml-2.1/egg-dist-tmp-Elegr4
Building lxml version 2.1.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c'
needs to be available.
Using build configuration of libxslt 1.0.19
Building against libxml2/libxslt in the following directory: /usr/lib
src/lxml/lxml.etree.c:108:28: libxml/chvalid.h: No such file or directory
.etc
Many thanks,
Daniel
Daniel Seltzer
dseltzer at h2co3.com
646-322-5657
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080716/5a6eb45a/attachment.htm
More information about the lxml-dev
mailing list