Thank you so much!
That appears to have sorted everything - I'll try to put everything else
back in my login/cshrc files to see if I can find what is screwing it up.
Many Thanks
Sarah
--
Dr Sarah L Casewell Email: [log in to unmask]
Xray and Observational Astronomy Office: S1
Department of Physics and Astronomy Phone: +44 (0)116 2523577
University of Leicester
Leicester
LE1 7RH
UK
On Wed, 13 Feb 2008, Peter W. Draper wrote:
> 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.
>
>
|