
Dnia wtorek, 18 grudnia 2012, Simon Marlow napisaĆ:
On 18/12/12 10:09, Jan Stolarek wrote:
It turns out that running 'perl boot' in symlinked directory (ghc-build) is not enough. I had to run 'perl boot' in the original ghc-working dir and now configure succeedes in ghc-build.
You shouldn't do that, because now you have build files in your source directory. I know. That's why I didn't do it at first and only later thought that this might be the right way of doing things. Clearly, it is not.
The workaround is to link your .git directory from your build tree, like so:
$ cd ghc-build $ ln -s $source/.git .
where $source is your source tree. Right now I'm on Suse and this solution works - warning is gone and configure determines version correctly. I'll report on Debian on Thursday.
Janek