John Lato | 13 Mar 2012 17:06
Picon

Re: GHC 7.4+ rts_evalIO and Hackage glib-0.12.2

> From: Johan Holmquist <holmisen <at> gmail.com>

> Hi,
>
> glib-0.12.2 on Hackage is faulty(?). It doesn't play well with GHC.7.4.
>
> I see that this has been fixed in repository
> (http://code.haskell.org/gtk2hs/glib/System/Glib/hsgclosure.c) but not
> released to Hackage. Earlier references to this problem seem old now,
> so I wonder what the holdup is?

glib-0.12.3, which includes this fix, is available on Hackage (did you
run "cabal update"?) although there is one issue I had when installing
it.  cabal-install seems to prefer re-using an existing glib-0.12.2
rather than pulling down the new glib-0.12.3, so to make it work I had
to do:

cabal install gio --constraint="glib == 0.12.3"
cabal install gtk --constraint="glib == 0.12.3"

Sincerely,
John L.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
(Continue reading)

wagnerdm | 13 Mar 2012 17:43
Favicon
Gravatar

Re: GHC 7.4+ rts_evalIO and Hackage glib-0.12.2

Quoting John Lato <jwlato <at> gmail.com>:

>> From: Johan Holmquist <holmisen <at> gmail.com>
>
>> Hi,
>>
>> glib-0.12.2 on Hackage is faulty(?). It doesn't play well with GHC.7.4.
>>
>> I see that this has been fixed in repository
>> (http://code.haskell.org/gtk2hs/glib/System/Glib/hsgclosure.c) but not
>> released to Hackage. Earlier references to this problem seem old now,
>> so I wonder what the holdup is?
>
> glib-0.12.3, which includes this fix, is available on Hackage (did you
> run "cabal update"?) although there is one issue I had when installing
> it.  cabal-install seems to prefer re-using an existing glib-0.12.2
> rather than pulling down the new glib-0.12.3, so to make it work I had
> to do:
>
> cabal install gio --constraint="glib == 0.12.3"
> cabal install gtk --constraint="glib == 0.12.3"

Hm, perhaps the dependencies should be made stricter to avoid this  
kind of thing -- do you think so? I was just following the apparent  
policy of 0.12.2, which has a fairly relaxed set of dependencies.

~d

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
(Continue reading)

Johan Holmquist | 14 Mar 2012 12:56
Picon

Re: GHC 7.4+ rts_evalIO and Hackage glib-0.12.2

glib-0.12.3 is fine, it was 0.12.2 that was the problem and it wasn't
available on Hackage at the time. Now it is and I am thankful for
that. :-)

regards
/Johan

2012/3/13 John Lato <jwlato <at> gmail.com>:
>> From: Johan Holmquist <holmisen <at> gmail.com>
>
>> Hi,
>>
>> glib-0.12.2 on Hackage is faulty(?). It doesn't play well with GHC.7.4.
>>
>> I see that this has been fixed in repository
>> (http://code.haskell.org/gtk2hs/glib/System/Glib/hsgclosure.c) but not
>> released to Hackage. Earlier references to this problem seem old now,
>> so I wonder what the holdup is?
>
> glib-0.12.3, which includes this fix, is available on Hackage (did you
> run "cabal update"?) although there is one issue I had when installing
> it.  cabal-install seems to prefer re-using an existing glib-0.12.2
> rather than pulling down the new glib-0.12.3, so to make it work I had
> to do:
>
> cabal install gio --constraint="glib == 0.12.3"
> cabal install gtk --constraint="glib == 0.12.3"
>
> Sincerely,
> John L.
(Continue reading)


Gmane