python easy_install fails with “assembler for architecture ppc not installed” on Mac OS X

This happened for me after having upgraded to XCode 4; I haven’t had time to figure out what went wrong during the upgrade (or whether this is the intended behaviour), but the following workaround works for me: sudo env ARCHFLAGS=”-arch i386″ easy_install whatever The ARCHFLAGS trick works with setup.py as well: env ARCHFLAGS=”-arch i386 -arch … Read more

How to compile dts Linux device tree source files to dtb?

Device trees do not need to be compiled with “architecture-aware” tools. The dtc compiler on your ubuntu machine is probably current enough to compile your device tree. Or you can download the latest source and compile it yourself. The dtc compiler can be found here: https://git.kernel.org/pub/scm/utils/dtc/dtc.git There are some good documents in that package that … Read more

How can we restore ppc/ppc64 as well as full 10.4/10.5 SDK support to Xcode 4?

The quick answer is: Yes, we can! Before I get to the “how it is done” part, here are some notes about my patch/hack/fix. Right from the start the major goals have been: Keep all modifications to an absolute minimum. We want to keep the Xcode setups as original as possible. By all means, try … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)