Send Beginners mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: hsmagic & core dump (Alexander Alexeev)
2. Is http://hackage.haskell.org/packages/hackage.html having a
challenging serving up archive.tar? (KC)
3. Re: "stage restriction" when using Data.Heap (Martin Drautzburg)
4. Approach to resolve dependencies (Sergey Bushnyak)
5. Cabal problems (Abram Demski)
6. Re: Cabal problems (Sergey Bushnyak)
7. Re: Cabal problems (Brandon Allbery)
----------------------------------------------------------------------
Message: 1
Date: Wed, 09 Jan 2013 17:53:03 +0400
From: Alexander Alexeev <[email protected]>
Subject: Re: [Haskell-beginners] hsmagic & core dump
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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
> [email protected]
> 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/
------------------------------
Message: 2
Date: Wed, 9 Jan 2013 11:05:07 -0800
From: KC <[email protected]>
Subject: [Haskell-beginners] Is
http://hackage.haskell.org/packages/hackage.html having a challenging
serving up archive.tar?
To: haskell-cafe <[email protected]>, Haskell Beginners
<[email protected]>
Message-ID:
<CAMLKXy=OL=-cjhjce9b4aqqrodklv1funi5wirgm0dnywm6...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
:)
--
--
Regards,
KC
------------------------------
Message: 3
Date: Wed, 9 Jan 2013 20:13:59 +0100
From: Martin Drautzburg <[email protected]>
Subject: Re: [Haskell-beginners] "stage restriction" when using
Data.Heap
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="iso-8859-1"
Thanks guys
--
Martin
------------------------------
Message: 4
Date: Wed, 09 Jan 2013 23:08:12 +0200
From: Sergey Bushnyak <[email protected]>
Subject: [Haskell-beginners] Approach to resolve dependencies
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Currently switched to ghc-7.6.1 and when I want to install new packages,
they are broke others, because of use older versions. Observe this:
$ cabal install fay
Resolving dependencies...
In order, the following would be installed:
QuickCheck-2.5.1.1 (reinstall)
ansi-terminal-0.5.5.1 (new package)
ansi-wl-pprint-0.6.4 (new package)
attoparsec-0.10.3.0 (reinstall) changes: containers-0.5.2.1 -> 0.5.0.0
...
and others
Things like in last row with containers repeats in a lot of packages,
which with --reinstall key broke them.
So, I wondering what is the easiest and proper way to install new
packages with respect to old dependencies?
--
Best regards,
Sergey Bushnyak
------------------------------
Message: 5
Date: Wed, 9 Jan 2013 17:02:53 -0800
From: Abram Demski <[email protected]>
Subject: [Haskell-beginners] Cabal problems
To: [email protected]
Message-ID:
<cal8fc7zkq+g3tbdkbjmf5btfk4h16o1ctgvxcdimxjbumbm...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130109/8694ee21/attachment-0001.htm>
------------------------------
Message: 6
Date: Thu, 10 Jan 2013 06:37:08 +0200
From: Sergey Bushnyak <[email protected]>
Subject: Re: [Haskell-beginners] Cabal problems
To: Abram Demski <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
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 list
> [email protected]
> 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-0001.htm>
------------------------------
Message: 7
Date: Wed, 9 Jan 2013 23:48:26 -0500
From: Brandon Allbery <[email protected]>
Subject: Re: [Haskell-beginners] Cabal problems
To: Sergey Bushnyak <[email protected]>
Cc: [email protected]
Message-ID:
<CAKFCL4WWHiOjnvzTefxr3qLukg1wXu_jjk8eMRm1SZ=39wc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Wed, Jan 9, 2013 at 11:37 PM, Sergey Bushnyak <
[email protected]> 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
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130109/9765a9db/attachment.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 55, Issue 9
****************************************