I am still experiencing these problems. Do anyone have a suggestion on what I can do?

Regards,
Esben

2009/11/20 Esben Bugge <esbenbugge@gmail.com>
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?

2009/11/20 Stefan Behnel <stefan_ml@behnel.de>

Hi,

Esben Bugge, 20.11.2009 10:44:
> 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?

Here's a patch that is supposed to make things work with MacOS 10.6:

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