On Tue, 22 Jul 2003, Rankin, SE (Stephen) wrote:
> Mark,
>
> I have fixed HTX.
good!
> Sorry, runset - stuff produced be the export_run target
> for the CD (no source). It was Dave G. that was testing the software without
> the /star link.
> > 3. /star symbolic link dose appear to be needed for some of our
> > applications, in particular demos and tests (gaia and ccdpack demos for
> > example). I will be stating in sun212 that /star it is required and that
> the
OK - it seems there is some truth in this. The CCDPACK tests
(ccdexercise, wcsexercise, setexercise) ought to work in a run-only
distribution. Using the quick-install script on the rh9test6.iso
image they work when no graphics are required (respond "!" to the
prompt about display device) but fail when graphics are required
(respond "xw" to that prompt).
The reason is failure of one of the GWM scripts in the STARTCL package.
A diff of the pre- and post-installation versions of this file
show what's up:
% diff $STARLINK/sources/startcl/gwmXrefresh \
$STARLINK/bin/startcl/gwmXrefresh
3c3
< exec wish "$0" "$@"
---
> exec /star/bin/wish8.2 "$0" "$@"
The mk install target has substituted in '/star/bin' here even though
neither $STARLINK nor $INSTALL is set to /star (in this case I was
installing to '/d1/dummy_star'). This can be tracked down to the
line in sources/tclsys/lib/tclConfig.sh:
# Top-level directory in which Tcl's platform-specific files (e.g.
# executables) are installed.
TCL_EXEC_PREFIX='/star'
In fact there are loads of hardwired '/star's in the TCLSYS package
as it is installed from the quick-install script.
I'd consider this a bug which ought really to get fixed, but I don't
know how much effort is involved; down to you/Dave/RAL to decide
whether it's too late to make it worthwhile.
Dave - if what you were seeing was something other than this,
please report it to me separately.
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] 0117 928 8776 http://www.star.bris.ac.uk/~mbt/
|