Hi Simon, On Fri, Jul 04, 2008 at 05:05:27PM +0100, Simon Peyton-Jones wrote: > > 'make distclean' crashes. Surely it should not be running GHT to build > something?
This is a little odd. What's happening is that cabal-bin doesn't know how to build the ghc-prim package, so it compiles and uses Setup.hs instead. So when you ask it to clean the package, it builds Setup and does "./Setup clean". > == make distclean - --unix -r; > in /c/darcs/HEAD/libraries > ------------------------------------------------------------------------ > rm -f -f stamp/configure.library.*.ghc-prim ghc-prim/unbuildable > cd ghc-prim && c:/darcs/HEAD/libraries/cabal-bin /c/fp/ghc-6.8.1/bin/ghc > c:/darcs/HEAD/libraries/bootstrapping.conf clean > c:/fp/ghc-6.8.1/bin/ghc -package-conf > c:/darcs/HEAD/libraries/bootstrapping.conf --make Setup -o Setup > [1 of 1] Compiling Main ( Setup.hs, Setup.o ) > Linking Setup.exe ... > ./Setup clean > cabal-bin.exe: ./Setup: runProcess: does not exist (No such file or directory) > > make[1]: [clean.library.ghc-prim] Error 1 (ignored) > rm -f -f ghc-prim/Setup ghc-prim/Setup.exe ghc-prim/Setup.hi ghc-prim/Setup.o > rm: `ghc-prim/Setup' is a directory Ah, I think that the problem is that you have setup directories left over from a previous build. rm -rf libraries/*/setup/ should sort that out, and they are no longer created. Thanks Ian _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc