Joel Reymont wrote:
I'm building ghc 6.4.2 from CVS on Mac PPC and get the error below. Any clues?

==fptools== make boot - --no-print-directory -r;
in /Users/zomariya/Work/fptools/ghc/lib/compat
------------------------------------------------------------------------
../../../glafp-utils/mkdependC/mkdependC -f .depend -I. -Iinclude - I../../includes -- -O -I. -Iinclude -- cbits/directory.c cbits/ rawSystem.c /opt/local/bin/ghc -M -optdep-f -optdep.depend -osuf o -optdep-- exclude-module=System.Directory.Internals -H16m -O -I. -Iinclude - Rghc-timing -ignore-package Cabal -I../../../libraries -fglasgow-exts -no-recomp Compat/Directory.hs Compat/RawSystem.hs Distribution/ Compat/FilePath.hs Distribution/Compat/ReadP.hs Distribution/ Compiler.hs Distribution/GetOpt.hs Distribution/ InstalledPackageInfo.hs Distribution/License.hs Distribution/ Package.hs Distribution/ParseUtils.hs Distribution/Version.hs Language/Haskell/Extension.hs Distribution/Compat/FilePath.hs:2: error: Cabal/Distribution/Compat/ FilePath.hs: No such file or directory <<ghc: 14349576 bytes, 3 GCs, 94444/94444 avg/max bytes residency (1 samples), 15M in use, 0.00 INIT (0.00 elapsed), 0.06 MUT (0.22 elapsed), 0.02 GC (0.04 elapsed) :ghc>>
make[3]: *** [depend] Error 1
make[2]: *** [boot] Error 1
make[1]: *** [boot] Error 1
make: *** [build] Error 1

ghc/lib/compat/Distribution/Compat/FilePath.hs #include's Cabal/Distribution/Compat/FilePath.hs, which it is supposed to find by virtue of the -I../../../libraries arg passed to ghc.

So does Cabal/Distribution/Compat/FilePath.hs exist relative to libraries in your tree?

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to