No. Cabal package doesn't import lang package.
I try to build H/Direct, this problem also appear when compile
NativeInfo.hs.
And I made Generics.hs that doesn't import any package,
and test it, this error exits.
I think ghc-6-4-bld2.msi's ghc can't compile module without
-ignore-package lang that is same name for lang package.
I hope fixed newer version (ghc 6.4.1?) fix this problem.
Simon wrote:
> I'm not quite sure what has gone wrong here. GHC is reporting a clash
> between the module Generics in the lang package, and the local module
> Generics. The lang package is not supposed to be in scope, however.
> Looking at
> the command line, the only package flag is '-package Cabal'. Does your
> Cabal package somehow depend on lang? (it shouldn't -
> Cabal/package.conf.in specifies a dependency only on base).
>Ah - do you have a local Cabal installation, perhaps?
>
>> stage1/types/Generics.hi ^M types/Generics.lhs:1:0:^M
>> Module `Generics' is a member of package lang-1.0.^M
>> To compile this module, please use -ignore-package lang-1.0.^M
>> <<ghc: 34545376 bytes, 8 GCs, 1247876/2400204 avg/max bytes residency
>> (2 samples), 16M in use, 0.01 INIT (0.00 elapsed),0.13 MUT (0.14
>> elapsed), 0.12 GC (0.12 elapsed) :ghc>>^M
>> make[2]: *** [stage1/types/Generics.o] Error 1
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory `/cygdrive/c/fptools/fptools/ghc'
>> make: *** [build] Error 1
--
shelarcy <shelarcy capella.freemail.ne.jp>
http://page.freett.com/shelarcy/
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc
