On Wed, 31 May 2006, Norman Gray wrote:
> I've just done a from-the-top checkout, bootstrap and configure. The
> latter failed with
>
> ...
> checking fpu_control.h presence... yes
> checking for fpu_control.h... yes
> checking where to find Tcl/Tk 8.4+... unknown
> checking for star2html... (cached) star2html
> updating cache ../../config.cache
> configure: error: conditional "HAVE_ITCL" was never defined.
> Usually this means the macro was only invoked conditionally.
> configure: error: /bin/sh './configure' failed for ccdpack
> configure: error: /bin/sh './configure' failed for applications
>
> Now, the reason for this was that I'd forgotten to do the 'make
> configure-deps' step.
>
> One response is `don't do that, then', but a counter-response is to
> wonder if it's easy to make this fail a bit more informatively. Is the
> warning about only-conditional macros something to worry about?
In the past we've dealt with such issues by using the presence of various
files to check the sanity of the build order (the old .INSTALLED_xxx, and
.BUILT files). Maybe an idea we can resurrect, although it might be less
useful without stages that ever removes them (no ./mk deinstall to remove
.INSTALLED_xxx).
> Building thirdparty/tclsys/tk fails too, however, with a bucketload
> of errors like
>
> ln: accessing `/scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STARTk_Alloc3DBorderFromObj.3/scratch/ptolemy/norman': No such file or directory
> ln: accessing `/scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STARTk_Alloc3DBorderFromObj.3/scratch/ptolemy/norman': No such file or directory
> ln: accessing `/scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STARTk_Alloc3DBorderFromObj.3/scratch/ptolemy/norman': No such file or directory
> ...
> make[3]: *** [install-doc] Error 1
> Installation of component /scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STAR/manifests/tk failed
> make[2]: *** [install-manifest] Error 1
> make[1]: *** [install] Error 2
> make: *** [/scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STAR/manifests/tk] Error 1
>
> % env|grep STARCONF
> STARCONF_DEFAULT_PREFIX=/scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STAR
> STARCONF_DEFAULT_STARLINK=/scratch/ptolemy/norman/s/cvs.starlink.ac.uk/trunk/STAR
>
> It looks like something's up with unix/installManPage, called from
> unix/Makefile with target install-doc, but a quick look doesn't make
> anything jump out. Is there a space missing somewhere?
I've tried to reproduce this without success, so I'm guessing this is some
local difficulty, say a bad sed (truncating) or corrupt file somewhere?
When you get a moment try editing installManPage to echo what it's up to,
that may shed some light.
Cheers,
Peter.
|