how to get stm for ghc6 in hardy?

Asked by Michal Konecny

The current ghc6 in hardy no longer contains the stm ghc package.
(The gutsy version contained it.) I also could not find any other hardy
package that would add stm to the ghc install. Is it an omission or
have I not looked hard enough?

I noticed that debian has libghc6-stm. Is it possible to use/adapt that one?

Michal

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ghc6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

hello

Yes its available in hardy ref:

https://edge.launchpad.net/ubuntu/hardy/i386/ghc6/6.6.1-2ubuntu2

Package provides:

    * ghc
    * haskell-compiler
    * libghc6-base-dev
    * libghc6-cabal-dev
    * libghc6-filepath-dev
    * libghc6-haskell98-dev
    * libghc6-parsec-dev
    * libghc6-readline-dev
    * libghc6-regex-base-dev
    * libghc6-regex-compat-dev
    * libghc6-regex-posix-dev
    * libghc6-rts-dev
    * libghc6-stm-dev
    * libghc6-template-haskell-dev
    * libghc6-unix-dev

Hope it helps

Bhavani Shankar.

Revision history for this message
Michal Konecny (mik-konecny) said :
#2

Thanks for the answer, this is a possiblity for me.
Nevertheless, I would much prefer to use ghc 6.8.2.
(Sorry I forgot to specify this in my original question...)
Is there a way to get stm in ghc 6.8.2?

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

I dont think its available try an alternate version as above...

Revision history for this message
Bhavani Shankar (bhavi) said :
#4

Or there is debian version..

http://packages.debian.org/lenny/libghc6-stm-dev

You can download all the dependencies, suggestions and recommendations and download the package and install it on your system..

Regards

Bhavani Shankar.

Revision history for this message
StefanPotyra (sistpoty) said :
#5

Hi,

sorry for late answer. The missing haskell-stm is my fault, as I missed that one when core library packages where split off from ghc6 (6.8.2).

Since it got synced into intrepid right now, I've requested a backport to hardy of the package (see bug #233857). Once this is done, you can install it from hardy-backports.

Oh, and unless you're 100% sure what you're doing, you shouldn't plainly install .debs from unstable, as these might not be binary compatible (and for haskell-stm, I'm not even too sure myself).
However if you don't want to wait for the backport to happen, you can grab the source package from unstable, and rebuild it on your system as a safe alternative.

Cheers,
    Stefan.

Can you help with this problem?

Provide an answer of your own, or ask Michal Konecny for more information if necessary.

To post a message you must log in.