Xcode4 dropped PPC support. After upgrading to Xcode 4 I realized some strange behaviors when running buildout (especially when creating a new Zope buildout where things have to be compiled).
I got some errors like this:
lipo: can’t open input file: /var/folders/8q/8q7FGaB3FHq8zCFUe4wSVk+++TI/-Tmp-//ccfKEKaS.out (No such file or directory)
error: command ’gcc-4.2’ failed with exit status 1
The solution to solve this is pretty straightforward. Add this line to your
.profile in your home directory:
export ARCHFLAGS="-arch i386 -arch x86_64"