Norman,
I would have thought that as the user has specified where the Starlink
distribution files are, that this would take precedence over anything
else. Is it not just a case of switching the search order?
Note, I cannot set the nightly build to install to /star as this
location is reserved for the stable release.
Steve.
-----Original Message-----
From: Starlink development [mailto:[log in to unmask]] On Behalf Of
Norman Gray
Sent: 14 April 2005 12:15
To: [log in to unmask]
Subject: Re: Build artefact in COCO
--with-starlink:
The function of --with-starlink is to add an already-existing starlink
tree to the search path. This works, as was illustrated by the echoed
command lines which Steve posted.
It does not remove things from the search path.
In the distribution tarballs rolled by this process, the default prefix
is the directory which was named as STARCONF_DEFAULT_PREFIX when the
starconf component was built (at bootstrap time), and the default
starlink tree is the directory which was named as
STARCONF_DEFAULT_STARLINK. These override the defaults for these
values, which are, and always have been, /star.
In particular it turns out that I coded starconf so that the default
installation prefix is unconditionally included in -I and -L options,
irrespective of the presence or absence of --prefix or --with-starlink.
This is known as a `bug'.
Users of the distribution tarballs will naturally not have to fiddle
with bootstrap scripts or acinclude.m4 files.
I think I explained this at rather too much length the other night.
Apologies for that.
> As it stands the distribution tar files are useless.
Or, put another way, now that we have got to the stage where Steve can
usefully test the distribution tarballs, a bug has been found. It is
good this has been brought to my attention.
I am now addressing this bug, and assembling some instructions for how
to bootstrap the system in such a way that correct distribution
tarballs will be generated. Basically, these instructions are to unset
STARCONF_DEFAULT_{PREFIX,STARLINK} and to add --prefix and
--with-starlink to the top-level configure.
In the process, however, I have found two other bugs in the top-level
bootstrap, when run in this mode. I am addressing these also.
Back soon,
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|