Thanks for your response. I added the changes of the patch to buildlibxml.py and the installation went a lot further... but it still fails. Now with:
ld: library not found for -lbundle1.o
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit statuscollect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccUI4H6k.out (No such file or directory)
error: command 'gcc-4.0' failed with exit status 1
Any other ideas?
Hi,
Esben Bugge, 20.11.2009 10:44:
Here's a patch that is supposed to make things work with MacOS 10.6:> I have tried to install lxml on Mac OS X 10.6.2 using both
>
> sudo python setup.py build --static-deps
>
> and
>
> sudo STATIC_DEPS=true easy_install lxml
>
> In both cases I get
>
> lipo: can't figure out the architecture type of: /var/tmp//ccdcpY3e.out
> make[2]: *** [SAX.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Exception: Command "make" returned code 2
>
> What can I do to resolve this error?
https://codespeak.net/viewvc/lxml/branch/lxml-2.2/buildlibxml.py?r1=66217&r2=69351&view=patch
Please try if that changes anything for you.
Stefan