Error building GHC: can't locate import `Package'
Peter Simons
simons at cryp.to
Sat Dec 18 11:10:27 EST 2004
When building the current CVS HEAD with ghc-6.2.2 on
Linux/x86, I get this error:
[...]
==fptools== make boot - --no-print-directory -r;
in /usr/local/src/ghc-current/ghc/utils/ghc-pkg
--------------------------------------------------------------------
Creating Version.hs ...
ghc-6.2.2 -M -optdep-f -optdep.depend -osuf o
-optdep--exclude-module=Compat.RawSystem
-optdep--exclude-module=Compat.Directory
-optdep--exclude-module=Distribution.Compat.Error
-optdep--exclude-module=Distribution.Compat.ReadP
-optdep--exclude-module=Distribution.Extension
-optdep--exclude-module=Distribution.InstalledPackageInfo
-optdep--exclude-module=Distribution.License
-optdep--exclude-module=Distribution.Package
-optdep--exclude-module=Distribution.ParseUtils
-optdep--exclude-module=Distribution.Setup
-optdep--exclude-module=Distribution.Version
-optdep--exclude-module=System.FilePath -H16m -O
-optc-nopie -optc-fno-stack-protector-all
-optc-fno-stack-protector -cpp -Wall
-fno-warn-name-shadowing -fno-warn-unused-matches
-i../../lib/compat Main.hs ParsePkgConfLite.hs Version.hs
ParsePkgConfLite.hs: can't locate import `Package'
It seems that ParsePkgConfLite.hs omits the "Distribution"
part when importing Distribution.Package.
Peter
More information about the Glasgow-haskell-users
mailing list