Error compiling GHC/Num.lhs

Simon Peyton-Jones simonpj at microsoft.com
Thu May 3 08:34:12 EDT 2007


the base library is in a bit of a sad state.

I think I have fixed it.  Try pulling (both compiler and libraries) and try again

S

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On
| Behalf Of Bas van Dijk
| Sent: 03 May 2007 11:32
| To: Bertram Felgenhauer
| Cc: glasgow-haskell-users at haskell.org
| Subject: Re: Error compiling GHC/Num.lhs
|
| On 5/2/07, Bertram Felgenhauer <bertram.felgenhauer at googlemail.com> wrote:
| > ...
| > I have two patches that should fix this:
| > ...
|
| Thanks, I applied base-install-includes.patch.
| (Cabal-fix-installIncludeFiles.patch was already applied according to
| darcs.)
|
| However, in order to apply the patches I did a new checkout of GHC
| without the --partial. This seemed to have pulled a few new patches
| that break my build again.
|
| I fixed the first error (I darcs send the patch):
|
| ./compiler/coreSyn/CoreUtils.lhs 262
| -mkAltExpr DEFAULT = panic "mkAltExpr"
| +mkAltExpr DEFAULT _ _ = panic "mkAltExpr"
|
|
| This leaves the second error when building base:
|
| Building base-2.1...
|
| GHC/Exts.hs:29:1:
|     Not in scope: type constructor or class `IsString'
|
| If I import Data.String in GHC/Exts.hs I get the following error:
|
| Building base-2.1...
| ghc-6.7.20070502: panic! (the 'impossible' happened)
|   (GHC version 6.7.20070502 for i386-unknown-linux):
|         mkWWcpr: not a product base:Data.Typeable.TypeRep{tc r3eN}
|
| What can be the problem?
|
| regards,
|
| Bas van Dijk
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list