[lxml-dev] lxml Mac installation idea
Stefan Behnel
stefan_ml at behnel.de
Wed Nov 12 20:11:30 CET 2008
Hi,
Guntsche Michael wrote:
>> 2) how do you configure the build of libxml2/libxslt/libiconv to be
>> universal?
>> Mark wrote that "-arch i386 -arch ppc" will do the trick. Is that the
>> right way of doing it?
> you need
>
> -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
>
> Example:
> ========
>
> CFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure
> --without-python --disable-dependency-tracking --disable-shared
>
> for libxslt and static libs.
Ok, I've updated the trunk build script to reflect some of this.
http://codespeak.net/svn/lxml/trunk/buildlibxml.py
Please check if it works better. Patches are very welcome.
Stefan
More information about the lxml-dev
mailing list