[Haskell-beginners] Cabal problems

Abram Demski abramdemski at gmail.com
Thu Jan 10 06:14:12 CET 2013


Yea, I'm using a 7.* version... ok, thanks!


On Wed, Jan 9, 2013 at 8:37 PM, Sergey Bushnyak <sergey.bushnyak at sigrlami.eu
> wrote:

>  On 01/10/2013 03:02 AM, Abram Demski wrote:
>
>  Hi all,
>
>  I'm just trying to install some of the games from the game list (on the
> wiki) so that I have something to look at. I tried the ones which have
> cabal packages as I assumed that would be easy. Every one I tried so far
> has failed to install. Below are two of the quickest failures. Any comments
> are appreciated. Is there something I'm generally not getting? Or are there
> just various problems with installing possibly-old packages?
>
> abram at whitehead:~$ cabal install shu-thing
> Resolving dependencies...
> Configuring Shu-thing-1.1.1...
> Building Shu-thing-1.1.1...
> Preprocessing executable 'shu-thing' for Shu-thing-1.1.1...
> [1 of 1] Compiling Main             ( Shu-thing.hs,
> dist/build/shu-thing/shu-
> thing-tmp/Main.o )
>
> Shu-thing.hs:4:27:
>     Module
>     `Control.Exception'
>     does not export
>     `Exception(ExitException)'
> cabal: Error: some packages failed to install:
> Shu-thing-1.1.1 failed during the building phase. The exception was:
> ExitFailure 1
>
> ===
>
> abram at whitehead:~$ cabal install spaceInvaders
> Resolving dependencies...
> Configuring HGL-3.2.0.0...
> Building HGL-3.2.0.0...
> Preprocessing library HGL-3.2.0.0...
> [ 1 of 27] Compiling Graphics.HGL.Internals.Flag (
> Graphics/HGL/Internals/Flag.
> hs, dist/build/Graphics/HGL/Internals/Flag.o )
> [ 2 of 27] Compiling Graphics.HGL.Internals.Utilities (
> Graphics/HGL/Internals/Utilities.hs,
> dist/build/Graphics/HGL/Internals/Utilities.o )
>
> Graphics/HGL/Internals/Utilities.hs:33:31:
>     Expecting one more argument to `E.Exception'
>     In the type signature for `safeTry':
>       safeTry :: IO a -> IO (Either E.Exception a)
>
> cabal: Error: some packages failed to install:
>  HGL-3.2.0.0 failed during the building phase. The exception was:
> ExitFailure 1
>
>
>
> --
> Abram Demski
> http://lo-tho.blogspot.com/
>
>
> _______________________________________________
> Beginners mailing listBeginners at haskell.orghttp://www.haskell.org/mailman/listinfo/beginners
>
>  What version of ghc and cabal are you using? shu-thing builds on ghc-6.8
> and failed on ghc-7.*. Package probably broken and need to be updated, due
> to changes in other packages.
>
> --
> Best regards,
> Sergey Bushnyak
>
>


-- 
Abram Demski
http://lo-tho.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130109/289f01dd/attachment.htm>


More information about the Beginners mailing list