Tim,
On 2004 Aug 2 , at 20.43, Tim Jenness wrote:
>
> It still happens for me. I *think* the problem is that Makefile.in is
> regenerated from Makefile.am during the buildsupport bootstrap (so the
> CVS version is an irrelevance). Presumably automake is used to generate
> that Makefile.in and automake is full of STAR_EXTRA_DIST. Also,
> libtool is
> built before automake, so does that mean it tries to use the installed
> automake to generate the Makefile.in?
It _shouldn't_ happen, since the rule in Makefile.dependencies just
does ./configure;make;make install (in effect). The only way that
automake would be run is if Makefile.am were newer than (one of the)
Makefile.in, since the generated Makefiles include a dependency of
Makefile.in on Makefile.am. That also shouldn't happen, but could if
there's something amiss with the timestamps of the files as they come
out of the repository. But at this point we might be running _back_
into the months-old headache about CVS and file timestamps, and the way
that there's something subtly different (which I have succeeded in
forgetting) between the way that checkout and update work. That's why
we removed generated files from the rest of the repository -- a
solution which won't work straightforwardly in this bootstrapping
phase.
> Removing my installed automake and making sure I use the cvs
> libltdl/Makefile.in allows everything to work. ie the buildsupport
> bootstrap should only be run if none of the existing tools are
> installed!
My (not very confident) guess is that it'll be OK for you now, if the
automake that's installed is one which doesn't generate the
STAR_EXTRA_DIST in (as it turns out) exactly the wrong place. I've had
fun and games in the past with this sort of chicken and egg automake
automaking automake problem.
If a checkout from scratch works -- that is, a real bootstrap, with
none of the tools installed in .../buildsupport/bin -- then I'd be
inclined not to worry about it. If it still doesn't work, then can you
send me the 'ls -lt' of the libtool directory before the build, and the
make.log of the build.
Fingers crossed,
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|