darcs

Issue 544 ghc 6.8 compatibility

Title ghc 6.8 compatibility
Priority feature Status resolved
Milestone Resolved in
Superseder Nosy List beany_kelly, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2007-10-04.15:05:59 by beany_kelly, last changed 2009-08-27.13:52:06 by admin.

Files
File name Uploaded Type Edit Remove
DARCS_RES beany_kelly, 2007-10-04.15:10:24 application/octet-stream
Messages
msg2155 (view) Author: beany_kelly Date: 2007-10-04.15:10:24
Hi. I'm trying to install darcs from source on my Scientific Linux machine (no
root privileges, so I can't do a binary install). I had to get the Haskell
compiler first --  version "ghc-6.8.0.20070914".

Using this, the darcs compilation fails at the configure stage, seemingly
confused by GHC.Handle versions. Very space output attached.

Is this a Darcs bug or a Haskell bug? I found mention of something similar from
a much earlier version of darcs, on MacOsX.
Attachments
msg2156 (view) Author: droundy Date: 2007-10-04.15:16:43
On Thu, Oct 04, 2007 at 03:10:24PM -0000, Bernard Kelly wrote:
> Hi. I'm trying to install darcs from source on my Scientific Linux machine (no
> root privileges, so I can't do a binary install). I had to get the Haskell
> compiler first --  version "ghc-6.8.0.20070914".
> 
> Using this, the darcs compilation fails at the configure stage, seemingly
> confused by GHC.Handle versions. Very space output attached.
> 
> Is this a Darcs bug or a Haskell bug? I found mention of something similar from
> a much earlier version of darcs, on MacOsX.

Sounds like it's just an incompatibility with ghc 6.8.  We haven't (so far
as I know) compile darcs with ghc 6.8, since it hasn't been released yet
(has it?).  Presumably we'll need to add another configure check to handle
the API change.  In the meantime, you could compile with ghc 6.6.x.
-- 
David Roundy
Department of Physics
Oregon State University
msg2157 (view) Author: beany_kelly Date: 2007-10-04.17:14:43
Thanks for the advice. No, ghc-6.8 is just "stable development" right now. I
tried dropping back to 6.6.1 -- the current latest stable release, but ... it
won't compile. GHC (which I never used before today) seems to require previous
versions of itself for installation, and though these are available as RPMs,
again, I don't have root on this machine. This isn't a DARCS [problem, though.
msg2158 (view) Author: beany_kelly Date: 2007-10-04.17:16:24
I should add that while ghc-6.8 isn't an officail stable release, it -is-
publicly available from their webpage.
msg2244 (view) Author: kowey Date: 2007-11-06.17:11:26
Seems to have been addressed by these patches (in unstable):

Mon Oct 22 12:29:02 CEST 2007  Ganesh Sittampalam <ganesh@earth.li>
  * make_changelog requires Text.PrettyPrint which is in package pretty in GHC 6.8

Thu Oct 18 16:21:25 CEST 2007  Ganesh Sittampalam <ganesh@earth.li>
  * GHC 6.8 needs containers package

Thu Oct 18 15:57:14 CEST 2007  Ganesh Sittampalam <ganesh@earth.li>
  * configure hack to deal with openFd -> fdToHandle' renaming in GHC 6.8
History
Date User Action Args
2007-10-04 15:05:59beany_kellycreate
2007-10-04 15:10:26beany_kellysetfiles: + DARCS_RES
nosy: + beany_kelly
status: unread -> unknown
messages: + msg2155
2007-10-04 15:16:45droundysetmessages: + msg2156
2007-10-04 17:14:44beany_kellysetmessages: + msg2157
2007-10-04 17:16:25beany_kellysetmessages: + msg2158
2007-10-24 12:41:00koweysetpriority: critical -> feature
title: compiling from source on Scientific Linux: fails at "configure" due to GHC.Handle.open -> ghc 6.8 compatibility
2007-11-06 17:11:27koweysetstatus: unknown -> resolved-in-unstable
messages: + msg2244
2007-11-17 11:13:41koweysetstatus: resolved-in-unstable -> resolved
2009-08-06 17:51:05adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, beany_kelly
2009-08-06 20:54:04adminsetnosy: - beschmi
2009-08-10 22:08:52adminsetnosy: + beany_kelly, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:02:27adminsetnosy: + darcs-devel, - simon
2009-08-27 13:52:06adminsetnosy: tommy, kowey, darcs-devel, thorkilnaur, beany_kelly, dmitry.kurochkin