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

2005-10-18 Thread Simon Marlow
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@haskell.org, 
 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
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


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

2005-10-17 Thread Piotr Wilkin
SM Can you try with -v and send us the output, also the output from
SM 'ghc-pkg list', and 'ghc-pkg describe wxcore', 'ghc-pkg describe wx'.
SM All with the versions of these tools that came with Visual Haskell, of
SM 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@haskell.org,
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

Results of ghc-pkg describe wxcore:
name: wxcore
version: 0.9.4
license: AllRightsReserved
copyright:
maintainer:
stability:
homepage: http://wxhaskell.sourceforge.net
package-url:
description:
category:
author: Daan Leijen
exposed: True
exposed-modules: Graphics.UI.WXCore Graphics.UI.WXCore.WxcClasses
 Graphics.UI.WXCore.WxcClassInfo Graphics.UI.WXCore.WxcDefs
 Graphics.UI.WXCore.IntMap Graphics.UI.WXCore.Types
 Graphics.UI.WXCore.Defines Graphics.UI.WXCore.Draw
 Graphics.UI.WXCore.Events Graphics.UI.WXCore.Frame
 Graphics.UI.WXCore.Layout Graphics.UI.WXCore.Process
 Graphics.UI.WXCore.Print Graphics.UI.WXCore.Dialogs
 Graphics.UI.WXCore.Image Graphics.UI.WXCore.Controls
 Graphics.UI.WXCore.Db Graphics.UI.WXCore.OpenGL
 Graphics.UI.WXCore.WxcObject Graphics.UI.WXCore.WxcClassTypes
 Graphics.UI.WXCore.WxcTypes Graphics.UI.WXCore.WxcClassesAL
 Graphics.UI.WXCore.WxcClassesMZ
hidden-modules:
import-dirs: D:/cygwin/usr/local/lib/imports
library-dirs: D:/cygwin/usr/local/lib
hs-libraries: wxcore wxcore0 wxcore1 wxcore2
extra-libraries: wxc-msw2.6.2-0.9.4
include-dirs:
includes:
depends: base-1.0 lang haskell98-1.0 concurrent
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces:
haddock-html:

Results of ghc-pkg describe wx:
name: wx
version: 0.9.4
license: AllRightsReserved
copyright:
maintainer:
stability:
homepage: http://wxhaskell.sourceforge.net
package-url:
description:
category:
author: Daan Leijen
exposed: True
exposed-modules: Graphics.UI.WX Graphics.UI.WX.Types
 Graphics.UI.WX.Attributes Graphics.UI.WX.Layout
 Graphics.UI.WX.Classes Graphics.UI.WX.Variable
 Graphics.UI.WX.Events Graphics.UI.WX.Window 
Graphics.UI.WX.Frame
 Graphics.UI.WX.Media Graphics.UI.WX.Menu Graphics.UI.WX.Timer
 Graphics.UI.WX.Draw Graphics.UI.WX.Controls 
Graphics.UI.WX.Dialogs
hidden-modules:
import-dirs: D:/cygwin/usr/local/lib/imports
library-dirs: D:/cygwin/usr/local/lib
hs-libraries: wx
extra-libraries:
include-dirs:
includes:
depends: wxcore-0.9.4
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces:
haddock-html:

Greetings,
Piotr Wilkin
[EMAIL PROTECTED]


___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs