jaspervdj/blaze-html — Issue #58: blaze-builder failed during configure step on Mac OS X Lion
Author: ulrivo
Created: 2012-03-09 19:10:09+00:00
State: open

Hello,

thank you so much, folks....for developing such a great stuff as blaze-html :-)

I tried to install blaze-html and the builder failed:

Last login: Fri Mar 9 19:39:08 on console
~ $ cabal update
Downloading the latest package list from hackage.haskell.org
~ $ cabal install blaze-html
Resolving dependencies...
Downloading blaze-builder-0.3.1.0...
Configuring blaze-builder-0.3.1.0...
ghc: could not execute: /Developer/usr/bin/gcc
cabal: Error: some packages failed to install:
blaze-builder-0.3.1.0 failed during the configure step. The exception was:
ExitFailure 1
blaze-html-0.4.3.1 depends on blaze-builder-0.3.1.0 which failed to install.

The reason is that gcc has moved on Mac OS X Lion when Xcode 4.3 is installed via the App Store. There is no /Developer directory anymore.

My gcc is here:

~ $ which gcc
/usr/bin/gcc
~ $ ls -l /usr/bin/gcc
lrwxr-xr-x 1 root wheel 12 21 Feb 19:46 /usr/bin/gcc -> llvm-gcc-4.2
~ $ ls -l /usr/bin/llvm-gcc-4.2
lrwxr-xr-x 1 root wheel 32 21 Feb 19:46 /usr/bin/llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2

Greetings from Germany,
Ulrich