Norman,
So far there doesn't appear to be any sign of the nightly build path, so
it appears to be working.
Ta,
Steve.
-----Original Message-----
From: Starlink development [mailto:[log in to unmask]] On Behalf Of
Norman Gray
Sent: 14 April 2005 23:04
To: [log in to unmask]
Subject: Builds and make dist (was: Build artefact in COCO)
Folks,
On 2005 Apr 14 , at 12.14, Norman Gray wrote:
> 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.
I've fixed this, rather nervously. I believe this will not cause the
nightly build to implode. But if it does, well, that's part of life's
rich pageant.
It's been a while since I've run the top-level ./bootstrap with
STARCONF_DEFAULT_* not set, and this threw up a couple of other errors,
which I've addressed through a who's-going-to-blink-first battle with
automake. Thus:
# start with a PATH which doesn't mention any /star or similar
#
# The following fancy checkout is just so I don't checkout
# and bootstrap the entire repository
cvs -d $starcvs co -l .
cvs -d $starcvs co thirdparty/fsf buildsupport
{etc,applications,libraries,thirdparty}/
{configure.ac,bootstrap,Makefile.am}
cvs -d $starcvs co applications/star2html libraries/sla
unset STARCONF_DEFAULT_{STARLINK,PREFIX}
PATH=$PWD/STAR/bin:$PATH
# It turns out to be useful, though not strictly necessary, to have this
# (new option) --buildsupport-prefix being the same as the directory
# in the command after it. There's nothing magic about $PWD/STAR.
./bootstrap --buildsupport-prefix=$PWD/STAR
# --without-stardocs only because I don't want to take all day
./configure --prefix=$PWD/STAR --with-starlink=$PWD/STAR
--without-stardocs
make $PWD/STAR/manifests/sla
(cd libraries/sla; make dist) # makes and installs star2html, too
...works, and produces a sla-2.5-1.tar.gz which builds happily and
wants to install itself in /star.
> Basically, these instructions are to unset
> STARCONF_DEFAULT_{PREFIX,STARLINK} and to add --prefix and
> --with-starlink to the top-level configure.
This is so.
See you,
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|