.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Platform package mtl-1.1.0.2 is already installed. Skipping...
Building
"/usr/local/bin/ghc" "--make" "Setup" "-o" "Setup" "-package"
"Cabal-1.6.0.3"
Linking Setup ...
"./Setup" "configure" "--package-db=../../packages/package.conf.inplace"
"--prefix=/usr/local" "--with-compiler=/usr/local/bin/ghc"
"--with-hc-pkg=/usr/local/bin/ghc-pkg"
"--with-hsc2hs=/usr/local/bin/hsc2hs"
"--with-happy=../happy-1.18.4/dist/build/happy/happy"
"--happy-options=--template=../happy-1.18.4"
"--with-alex=../alex-2.3.1/dist/build/alex/alex"
"--with-cabal-install=../cabal-install-0.6.2/dist/build/cabal/cabal"
"--enable-library-profiling"
unrecognized option
`--with-cabal-install=../cabal-install-0.6.2/dist/build/cabal/cabal'

Error:
Configuring the happy-1.18.4 package failed
make: *** [build.stamp] Error 2