[Haskell-beginners] cabal package haskore-vintage fails to build

Dimitri Hendriks diem at xs4all.nl
Tue Aug 20 21:02:17 CEST 2013


Hi all,

I'm new to this list, and know very little about haskell.
I am trying to install the package haskore-vintage 
on mac osx version 10.6.8, using cabal, but this fails;
see the log below.

I have ghc version 7.6.3, and cabal-install version 1.16.0.2.

------------------------------------------------------------------------------
$ cabal install haskore-vintage

Resolving dependencies...
Configuring haskore-vintage-0.1...
Building haskore-vintage-0.1...
Preprocessing library haskore-vintage-0.1...
[ 1 of 16] Compiling Haskore.Monads   ( src/Haskore/Monads.hs, dist/build/Haskore/Monads.o )
[ 2 of 16] Compiling Haskore.Utils    ( src/Haskore/Utils.hs, dist/build/Haskore/Utils.o )

src/Haskore/Utils.hs:87:23: Not in scope: `catch'

src/Haskore/Utils.hs:93:23: Not in scope: `catch'
Failed to install haskore-vintage-0.1
cabal: Error: some packages failed to install:
haskore-vintage-0.1 failed during the building phase. The exception was:
ExitFailure 1
$
------------------------------------------------------------------------------

Does anyone know how to resolve this?

Related problems I found:
https://code.google.com/p/leksah/issues/detail?id=272
(no solution given).

And here: https://github.com/haskell/cabal/issues/1137
it appears they think it is a combination of Cabal 1.10 / cabal-install 0.10 and GHC 7.6 the causes the problem with "catch", but I use cabal 1.16.

Many thanks in advance,
Dimitri





More information about the Beginners mailing list