mxcl/homebrew Issue #899: readline should build a ‘universal’ binary
Linked on Nov 26 at 21:55
If you ever get an error message of “configure: error: C compiler cannot create executables” when executing brew install readline
, then do what’s suggested in a related Homebrew issue:
brew edit readline
- Comment out the line which starts with
ENV.universal_binary
. - Re-execute your previous
brew install
command.
The above also applies to the following packages:
- jpeg
Apparently the configuration specifying a Universal or PowerPC build target for libraries is in the library itself, not passed to it. If the library author wants to stop people using it on PowerPC, he/she can.