Re: [lxml-dev] Segfault on OS X
Hey, [this was mailed to just me by mistake, presmably, so cc to the list] Marc-Antoine Parent wrote:
I've extended the use of the guessing code in setup.py to also extract the library information. Try the trunk and see whether that helps?
It does. However, I noticed in the compilation process, the guessing code only looks at xml2-config, not at xslt-config. Somehow, the compilation still works without -I/usr/local/lib, but I am not sure where it finds the libxsl include files, and I do not like this. Would you think it appropriate to add the result of xslt-config --cflags to the libraries?
And the result of xslt-config --libs, presumably. Possibly there'll be more output from those commands that's needed later, for other platforms. It'll be one heck of a customized setup.py, but it seems inevitable, unfortunately. I wonder what happens on Windows.. Do you want to hack something up? I'm not sure when I'll time to get around to this. Regards, Martijn
participants (1)
-
Martijn Faassen