Stefan Behnel | 14 May 08:01

Re: install lxml 2.0.5 on Mac OS X Leopard - why is it so hard?

Hi,

Kumar McMillan wrote:
> On Tue, May 13, 2008 at 12:25 AM, Stefan Behnel <stefan_ml <at> behnel.de> wrote:
>>  > gcc ... -I -I/path/to/python/headers
>>
>>  That's a bug. Here is a patch.
> 
> closer!  thanks for that fix.  That got all the -I includes in order.
> 
> Next up, I'm pretty sure I need to pass -static to libtool so that it
> honors the -lxml2.a (without -static, it says xml2.a -- lib not
> found).

It's not "-lxml2.a" but a plain "/path/to/libxml2.a" as parameter to link it
in just like the normal lxml.etree.o object file that was just compiled.

Stefan

Gmane