[lxml-dev] lxml setup.py exslt link flag
Luke Tucker
ltucker at openplans.org
Tue Nov 21 18:03:23 CET 2006
Thanks,
that does the trick for me.
- Luke
On Tue, 2006-11-21 at 08:51 +0100, Stefan Behnel wrote:
> Hi Luke,
>
> Luke Tucker wrote:
> > I came across a slight issue with the part of lxml's setup.py
> > that adds a link flag for exslt when libxslt is installed
> > in a directory with a name containing the string 'xslt'.
> >
> > If I understand correctly, to generate the link flag for
> > libexslt, the result of 'xslt-config --libs'
> > is taken and searched for an element containing 'xslt' and
> > a new element is inserted which has 'exslt' instead.
> >
> > In my case, I was working with an install of libxslt in:
> >
> > /home/ltucker/devel/deliverance.buildout/parts/libxslt
> >
> > and 'xslt-config --libs' returns:
> >
> > ---------------------------------------------------------------------
> > -L/home/ltucker/devel/deliverance.buildout/parts/libxslt/lib
> > -L/home/ltucker/devel/deliverance.buildout/parts/libxml2/lib -lxslt
> > -lxml2 -lz -lm
> > ---------------------------------------------------------------------
>
> I committed a little patch to the trunk that should make setup.py a little (!)
> more robust against this kind of problem. Please check if it works for you.
>
> Stefan
>
> !DSPAM:1014,4562b07b69181362196140!
>
More information about the lxml-dev
mailing list