
25 Mar
2009
25 Mar
'09
8:58 a.m.
On Mon, Mar 23, 2009 at 10:53:19AM +0100, José Pedro Magalhães wrote:
Bad interface file: C:\Program Files (x86)\Haskell\syb-0.2.0.0\ghc-6.10.1.20090314\Data\Generics.hi Something is amiss; requested module syb:Data.Generics differs from name found in the interface file syb-0.2.0.0:Data.Generics Failed, modules loaded: none.
ghc --show-iface "C:\Program Files (x86)\Haskell\syb-0.2.0.0\ghc-6.10.1.20090314\Data\Generics.hi" says:
interface syb-0.2.0.0:Data.Generics 610120090314
It looks like this was built with -package-name syb-0.2.0.0, but it should be built with -package-name syb. There should be ghc-options: -package-name syb in the .cabal file to make this happen. Thanks Ian