On Wed, 13 Feb 2008, Sarah Casewell wrote:
> I have now tested the message relay, which works. Autoastrom works on
> the command line, but not through gaia as it tells me
>
> Error starting ADAM relay'MessageRelay.pl':IO::Pipe:Cannot exec: No such
> file or directory at
> /star/Perl/lib/perl5/site_perl/5.8.8/Starlink/AMS/Core.pm line 177 at
> /star/Perl/lib/perl5/site_perl/5.8.8/Starlink/AMS/Init.pm line 366
>
> and then it hangs.
>
> My starperl is set correctly, my starlink_dir, autoastrom_dir and
> LD_LIBRARY_PATH are all set as instructed.
>
> Do you have any other ideas for me to try?
Not many, but here's one that could explain both your mysteries. If your
$HOME/.cshrc file is changing the values of either PATH or LD_LIBRARY_PATH
then things ran from scripts could give different behaviours to those ran
from the command-line.
Try temporarily changing your .login and .cshrc files to just have the
following content:
.cshrc:
-------
setenv STARLINK_DIR /star
source $STARLINK_DIR/etc/cshrc
.login:
-------
setenv STARLINK_DIR /star
source $STARLINK_DIR/etc/login
and see if that helps (you need both STARLINK_DIR definitions so that
login shells, which run .cshrc first, are also correctly setup).
Cheers,
Peter.
--
Peter W. Draper, http://astro.dur.ac.uk/~pdraper
|