[Haskell-beginners] Cabal problems

Sergey Bushnyak sergey.bushnyak at sigrlami.eu
Thu Jan 10 05:37:08 CET 2013


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 list
> Beginners at haskell.org
> http://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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130110/6fd7bfc1/attachment.htm>


More information about the Beginners mailing list