From: Bas v. D. <bas...@ho...> - 2006-10-30 11:59:44
|
I'm trying to build wxHaskell (with GHC-6.6) but I have a problem. The following is working ok: $ darcs get http://darcs.haskell.org/wxhaskell ... $ cd wxhaskell $ make ... $ sudo make install ... Now the wxcore package shows up with ghc-pkg list. Jippy! But the following fails: $ make wx 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-0.10.ge wxcore-0.10.1 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-0.10.1:Graphics.UI.WXCore.Types differs from name found in the interface file wxcore-0.10.1:Graphics.UI.WXCore.Types make: *** [out/wx/imports/Graphics/UI/WX/Types.o] Error 1 The following patches are applied to my repo, so what's going on? Fri Oct 27 22:12:18 CEST 2006 Eric Kow <eri...@lo...> * Separate make/make install for wxcore and wx. Now the user has to type make (sudo) make install make wx (sudo) make wx-install This is a tweak of Shelarcy's patch for making wxhaskell compile on GHC 6.6. The intention is to avoid the surprising behaviour of wxcore being installed when the user types 'make'. Fri Oct 27 12:22:08 CEST 2006 jer...@gm... * Add shelarcy patch for compile with GHC-6.6 Thanks, Bas van Dijk |