David,
On 2004 Oct 13 , at 10.55, David Berry wrote:
>> Thinking that maybe I should remake Makefile.dependencies as a
>> first step, I tried following the instructions in SSN/78 section 4.5
>> "Adding components: the final step" (!), but was left with an empty
>> Makefile.dependencies file. This, I presume, is because I do not have
>> a
>> java on my path. I would suggest changing section 4.5 to emphasise
>> that
>> you need a java on your path. Maybe also change the top-level
>> Makefile to
>> bomb out a bit more flagrantly and informatively if it cannot find a
>> java?
I've done both. I think the previous behaviour -- just touching
Makefile.dependencies -- was a hangover from an earlier stage of this
file. Certainly, it no longer makes sense to do that. If it finds
that there's no JDK available, it now produces a make error, plus a
hopefully helpful message indicating what you should do next. SSN/78
section 4.5 is changed too, to reflect this. There shouldn't be any
need to mention this earlier, since during a bootstrapping build, the
Makefile.dependencies is (by assumption) up to date.
> Just managed to create a new Makefile.dependencies... It took me a
> while
> to work out how to get the top-level Makefile to take note of the fact
> that I now have a java on my path. I did:
>
> ./configure --no-recursion
> ./bootstrap --buildsupport
Just `./configure --no-recursion' should have been enough. That
searches your path for `java' and substitutes it in to Makefile.in. If
Makefile.dependencies had ended up as an empty file as a result of your
previous attempt, then the `./bootstrap --buildsupport' would have
failed, as it's Makefile.dependencies that tells ./bootstrap how to
remake the buildsupport tools. At least, that's what I see when I
reproduced the problem.
Yes, everything does depend on everything else. Oh, the joys of
bootstrapping.
Does this work for you now?
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|