windows head build problems: Setup.exe: error
reading dist\setup-config;
Simon Marlow
simonmarhaskell at gmail.com
Tue Aug 28 07:15:57 EDT 2007
Claus Reinke wrote:
>> Claus Reinke wrote:
>>>>> $ ls compiler/stage1/ghc-inplace*
>>>>> compiler/stage1/ghc-inplace compiler/stage1/ghc-inplace.bat
>>>>> compiler/stage1/ghc-inplace.exe
>>>>
>>>> Ah, this could well be the source of the problem; you should only have
>>>> ghc-inplace.exe. Does removing the others fix it?
>>>
>>> i changed the Makefile to pass the .exe explicitly, which did get the
>>> build rolling again.
>>
>> I think you had leftovers from a previous build, which is why we
>> recommend doing 'make distclean' before 'darcs-all pull'. If you do
>> it after pulling, it might not remove things that were built
>> previously but not built any more.
>
> you might recall that it was i who originally proposed this
> recommendation?-)
Ah :-) I remember someone pointed it out, but forgot who it was.
> if you'd read the rest of my emails, you'd also notice that i did not
> only that,
nevertheless, it seems that you had ghc-inplace.bat left over from a
previous build. So either you hadn't done 'make distclean' at some point
in the past, or there was a time when our build system generated
ghc-inplace.bat but failed to clean it (entirely possible).
> but tried to clean most of distclean's left-overs as well, and that Ian
> and i
> agreed that a darcs-clean target would be helpful to automate that.
ok; I've been thinking of maintainer-clean as the being the ultimate clean
option, I wasn't aware that the GNU guidelines for maintainer-clean didn't
remove configure. In that case, I'm not sure how useful maintainer-clean
is for us.
Cheers,
Simon
More information about the Cvs-ghc
mailing list