can't compile ghc-7.4.1: No rule to make target `libraries/process/ghc.mk'

I've rm -rf'd my ~/.cabal to ensure old stuff doesn't get in the way, installed all the dependencies (on fedora 17, bootstrapping with ghc-7.0.4), unpacked the ghc-7.4.1 tarball, and run: ./configure --prefix=`pwd`/installed && make && make install and here's the log: https://gist.github.com/20dd47cfac4c8bbe498c (sorry I missed the top, `tee` didn't work right and my scrollback buffer wasn't big enough. I think I got the important stuff though). there seems to be a lot of "*/*.hi is missing (ignoring)" messages, culminating in: Configuring hsc2hs-0.67... make[1]: *** No rule to make target `libraries/process/ghc.mk'. Stop. make: *** [all] Error 2 Any hints? Cheers, - Tim.

On Thu, May 31, 2012 at 2:41 AM, Ian Lynagh
On Wed, May 30, 2012 at 08:44:26PM +1000, Tim Cuthbertson wrote:
Configuring hsc2hs-0.67... make[1]: *** No rule to make target `libraries/process/ghc.mk'. Stop. make: *** [all] Error 2
Any hints?
That file should be included in the source tarball.
Thanks Ian
Ahh, whoops. I had done a `git init && git add * && git commit -m 'pristine'` so that I could see what changed after a full build, or easily start over if I did something wrong. But since I'd tried it a couple of times I'd also done a `git clean -fdx && git reset --hard` (to get back to the pristine state). It turns out that some .gitignore files are included in the source tarball (all under libraries/*/.gitignore), so it actually cleaned up files that were supposed to be there. I'm not sure if it was intentional to include the .gitignore files in the tarball, but it seems like a surprising thing to do. Thanks, - Tim.
participants (2)
-
Ian Lynagh
-
Tim Cuthbertson