Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Cabal problems (Sergey Bushnyak)
   2. Re:  Cabal problems (Abram Demski)
   3. Re:  hsmagic & core dump (alexander.vershi...@gmail.com)


----------------------------------------------------------------------

Message: 1
Date: Thu, 10 Jan 2013 07:12:40 +0200
From: Sergey Bushnyak <sergey.bushn...@sigrlami.eu>
Subject: Re: [Haskell-beginners] Cabal problems
Cc: beginners@haskell.org
Message-ID: <50ee4dc8.3010...@sigrlami.eu>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 01/10/2013 06:48 AM, Brandon Allbery wrote:
> On Wed, Jan 9, 2013 at 11:37 PM, Sergey Bushnyak 
> <sergey.bushn...@sigrlami.eu <mailto:sergey.bushn...@sigrlami.eu>> wrote:
>
>>     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
>     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.
>
>
> The other package that changed is base; it's still using old-style 
> exceptions.  I thought someone was going to package up old-exceptions 
> and put it on hackage for backward compatibility, but I don't see it 
> there.  Same with the other package they tried to install.
>
> -- 
> brandon s allbery kf8nh sine nomine associates
> allber...@gmail.com <mailto:allber...@gmail.com> 
> ballb...@sinenomine.net <mailto:ballb...@sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Isn't it better to send patch with corrections to maintainer?

-- 
Best regards,
Sergey Bushnyak

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

------------------------------

Message: 2
Date: Wed, 9 Jan 2013 21:14:12 -0800
From: Abram Demski <abramdem...@gmail.com>
Subject: Re: [Haskell-beginners] Cabal problems
To: Sergey Bushnyak <sergey.bushn...@sigrlami.eu>
Cc: beginners@haskell.org
Message-ID:
        <cal8fc7wxrkaw1cvt0zhcy3+1sdc-fnnluwfo-wb68e6zhxg...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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


On Wed, Jan 9, 2013 at 8:37 PM, Sergey Bushnyak <sergey.bushn...@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@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@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@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-0001.htm>

------------------------------

Message: 3
Date: Thu, 10 Jan 2013 14:43:37 +0400
From: alexander.vershi...@gmail.com
Subject: Re: [Haskell-beginners] hsmagic & core dump
To: Alexander Alexeev <m...@eax.me>
Cc: "beginners@haskell.org" <beginners@haskell.org>
Message-ID: <20130110104337.gd5...@localhost.gtn.ru>
Content-Type: text/plain; charset="utf-8"


[self Adv.] You can try to use another image magick binding library [1].
It's not yet on hackage as it's not well tested for production,
but it seems to work properly in many cases and quite more safe
than hsmagic.

[1] https://github.com/qnikst/imagemagick

--
Alexander Vershilov.

Wed, Jan 09, 2013 at 05:53:03PM +0400, Alexander Alexeev wrote
> On 01/09/2013 01:51 PM, Sergey Bushnyak wrote:
> > Trying to work with images via hsmagic package, use something like this
> >
> > scaleTest :: FilePath -> IO()
> > scaleTest dst = do
> >                initializeMagick
> >                image <- readImage dst
> >                let image' =  scaleImage 450 450 image
> >                writeImage dst image'
> >
> > but get core dump, when compiling. Types are ok, and path are valid, 
> > can it be problem of os or I'm doing something wrong?
> >
> > _______________________________________________
> > Beginners mailing list
> > Beginners@haskell.org
> > http://www.haskell.org/mailman/listinfo/beginners
> Same problem here (Ubuntu 12.10, amd64, GHC 7.4.2). This package seems 
> to be broken.
> 
> -- 
> Best regards,
> Alexander Alexeev
> http://eax.me/
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130110/38368459/attachment-0001.pgp>

------------------------------

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 55, Issue 10
*****************************************

Reply via email to