I wonder if you have a cached Setup.hs somewhere under ~/.cabal that's out of date (i.e. uses and older Cabal). You can try -v2 or -v3 to get some more information. In particular look for mentions of older Cabal versions.

On Tue, Jan 13, 2015 at 5:53 AM, Ozgur Akgun <ozgurakgun@gmail.com> wrote:

On 13 January 2015 at 13:43, Ozgur Akgun <ozgurakgun@gmail.com> wrote:
To be precise, I ran the following and can use --disable-profiling with ghc-7.6.3 now.

I spoke too early.

Weird problem, running `cabal install --disable-profiling -j1` works, but using a higher number of cores I get the same error during cabal configure. Here is what I did.


$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 7.6.3
$ cabal -V
cabal-install version 1.22.0.0
using version 1.22.0.0 of the Cabal library
$ cabal install -j3 --disable-profiling mtl
Resolving dependencies...
Configuring transformers-0.4.2.0...
Failed to install transformers-0.4.2.0
Build log [...]:
unrecognized 'configure' option `--disable-profiling'
cabal: Error: some packages failed to install:
mtl-2.2.1 depends on transformers-0.4.2.0 which failed to install.
transformers-0.4.2.0 failed during the configure step. The exception was:
ExitFailure 1
$ cabal install -j1 --disable-profiling mtl
(This works fine.)

Am I missing something?

Ozgur


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe