[GHC] #939: Possible bug building wxhaskell

GHC trac at galois.com
Fri Oct 13 19:30:36 EDT 2006


#939: Possible bug building wxhaskell
-----------------------------------+----------------------------------------
  Reporter:  dagit at codersbase.com  |          Owner:     
      Type:  bug                   |         Status:  new
  Priority:  normal                |      Milestone:     
 Component:  Compiler              |        Version:  6.6
  Severity:  normal                |       Keywords:     
Difficulty:  Unknown               |   Architecture:  x86
        Os:  Unknown               |  
-----------------------------------+----------------------------------------
I appologize if this isn't a GHC bug but since it started happening after
 a GHC upgrade I suspect it's a GHC bug.

 After upgrading to ghc6.6 on windows (using the release binary) I tried to
 install the current wxhaskell release found here:
 http://wxhaskell.sourceforge.net/download.html
 (version wxhaskell-src-0.9.4-1.zip)

 I have used wxhaskell on this machine before with older version of ghc
 (including ghc6.5, specifically visual haskell) so my environment for
 building the wxhaskell source was already setup.  When I first got the
 error below I thought maybe my version of wxhaskell was messed up so I
 redownloaded the above zip file and unzipped a fresh copy.

 I unziped the source then I typed:
 configure && make

 Things went along fairly smoothly for a while then suddenly I got this
 error message:
 ghc -c wx/src/Graphics/UI/WX/Types.hs -o
 out/wx/imports/Graphics/UI/WX/Types.o -iout/wx/imports -odir
 out/wx/imports -hidir out/wx/imports  -fvia-C -package-name wx
 -iout/wx/imports

 wx/src/Graphics/UI/WX/Types.hs:94:0:
     Bad interface file: out/wx/imports/Graphics/UI/WXCore/Types.hi
         Something is amiss; requested module  wx:Graphics.UI.WXCore.Types
 differs from name found in the interface file
 wxcore:Graphics.UI.WXCore.Types
 make: *** [out/wx/imports/Graphics/UI/WX/Types.o] Error 1

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/939>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list