{"id":1878,"date":"2011-11-26T21:55:58","date_gmt":"2011-11-27T02:55:58","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/links\/899-readline-should-build-a-universal-binary-issues-mxclhomebrew-github.html"},"modified":"2011-11-27T23:53:19","modified_gmt":"2011-11-28T04:53:19","slug":"readline-homebrew-powerpc-executable","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/links\/readline-homebrew-powerpc-executable.html","title":{"rendered":"mxcl\/homebrew Issue #899: readline should build a &#8216;universal&#8217; binary"},"content":{"rendered":"<p>If you ever get an error message of &#8220;configure: error: C compiler cannot create executables&#8221; when executing <code>brew install readline<\/code>, then do what&#8217;s suggested in <a href=\"https:\/\/gist.github.com\/mxcl\/homebrew\/issues\/899\" title=\"Homebrew issue #899: readline should build a 'universal' binary\">a related Homebrew issue<\/a>:<\/p>\n<ol>\n<li><code>brew edit readline<\/code><\/li>\n<li>Comment out the line which starts with <code>ENV.universal_binary<\/code>.<\/li>\n<li>Re-execute your previous <code>brew install<\/code> command.<\/li>\n<\/ol>\n<p><ins datetime=\"2011-11-27T23:41\"><\/p>\n<p>\nThe above also applies to the following packages:<\/p>\n<ul>\n<li>jpeg<\/li>\n<\/ul>\n<p><\/ins><\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever get an error message of &#8220;configure: error: C compiler cannot create executables&#8221; when executing brew install readline, then do what&#8217;s suggested in <a href=\"https:\/\/gist.github.com\/mxcl\/homebrew\/issues\/899\" title=\"Homebrew issue #899: readline should build a 'universal' binary\">a related Homebrew issue<\/a>:<\/p>\n<p> brew edit readline Comment out the line which starts with ENV.universal_binary. Re-execute your previous brew install&nbsp;&hellip;&nbsp;<a class=\"read_more\" href=\"http:\/\/crazedmonkey.com\/blog\/links\/readline-homebrew-powerpc-executable.html\" rel=\"bookmark\" title=\"Continue reading &ldquo;mxcl\/homebrew Issue #899: readline should build a &#8216;universal&#8217; binary&rdquo;\"><span>Read more<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[33],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1878"}],"collection":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/comments?post=1878"}],"version-history":[{"count":3,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1878\/revisions"}],"predecessor-version":[{"id":1879,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1878\/revisions\/1879"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=1878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=1878"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=1878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}