Closed ndmitchell closed 6 years ago
I'm not sure this is related, but some time ago I dropped a hack for ACLOCAL_PATH
, see: https://github.com/snowleopard/hadrian/commit/830567e388a89b90a80c0140379c983de3cec8aa.
@ndmitchell Can you retry with this hack returned? If it works, we can just revert the above commit.
It looks like this may actually require some extra work, see https://github.com/snowleopard/hadrian/issues/314#issuecomment-334129053.
set ACLOCAL_PATH=.
beforehand seems to have fixed it. Should boot
on line 154 perhaps be conditionally getting aclocal if the environment variable is set, and not blowing up otherwise?
@ndmitchell Yep, sounds like the right approach!
@bgamari What do you think about this? We need to make this line in boot
more robust:
I just stumbled across this problem again, and then manually derived the same solution. If a fix isn't going to go upstream (which I think it should @bgamari) then having a local hack in Hadrian will reduce the number of times I have to re-solve this.
Patched in https://github.com/ghc/ghc/pull/164.
Fixed upstream!
:tada: Thanks Neil!
On Windows, using approximately the instructions from http://neilmitchell.blogspot.co.uk/2016/03/compiling-ghc-on-windows.html, I just got:
I am not sure what Hadrian version I am using (I just did a git clone from the root of GHC), so instructions to refresh Hadrian are welcome.