logo       

RE: Re[2]: GHC 6.5 (Visual Haskell) bug with wxHaskell: msg#00037

lang.haskell.glasgow.bugs

Subject: RE: Re[2]: GHC 6.5 (Visual Haskell) bug with wxHaskell

On 17 October 2005 15:58, Piotr Wilkin wrote:

>> Can you try with -v and send us the output, also the output from
>> 'ghc-pkg list', and 'ghc-pkg describe wxcore', 'ghc-pkg describe wx'.
>> All with the versions of these tools that came with Visual Haskell,
>> of course.
>
> Compilation error message from ghc -v -package wx:
> Glasgow Haskell Compiler, Version 6.5, for Haskell 98, compiled by
> GHC version 6.4 Using package config file: c:\Program Files\Visual
> Haskell\package.conf *** Deleting temp files:
> Deleting:
> <no location info>:<no location info>:
> ghc.exe: panic! (the `impossible' happened, GHC version 6.5):
> unknown exception
>
> Please report it as a compiler bug to
> glasgow-haskell-bugs@xxxxxxxxxxx,
> or http://sourceforge.net/projects/ghc/.
>
> Results of ghc-pkg list:
> c:/Program Files/Visual Haskell\package.conf:
> rts-1.0, haskell98-1.0, template-haskell-1.0, Cabal-1.0,
> parsec-2.0, haskell-src-1.0, network-1.0, QuickCheck-1.0,
> HUnit-1.1, mtl-1.0, fgl-5.2, Win32-1.0, HGL-3.1, OpenGL-2.0,
> stm-1.0, base-1.0, (ghc-6.5), com-1.0, wxcore-0.9.4, wx-0.9.4

Aha. Visual Haskell doesn't come with the 'lang' package, but wxcore
depends on it. Actually I hadn't noticed that we didn't supply the
hslibs packages with Visual Haskell - they're due to be removed in GHC
6.6 anyway, though.

Interesting that you managed to build wxcore, so perhaps the build
process for wxcore doesn't actually use -package lang.

Anyway, you can probably work around this by removing the dependency on
'lang' from the wxcore package. You'll need to re-register wxcore,
something like this:

$ ghc-pkg describe wxcore >wxcore.pkg
... edit wxcore.pkg to remove lang dependency ...
$ ghc-pkg update wxcore.pkg

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise