This message is slightly related to a thread of last year.
On our servers, to ease maintenance of the various versions of starlink
software we run, we link a local /star to the version required, e.g. /star
on a 64-bit machine may link to /home/star64 on our server which would be
linked to /home/star-nanahope, or /home/star-hawaiki for the new release. So
we only need to change the link on our server to enable a new version of the
starlink software to be utlilised by all the relevant machines. However,
this appears to produce a problem with perl. We have students running gaia
to do autoastrometry - when they try a fit, they get a 'failed to determine
a solution' and an error:
Can't locate strict.pm in @INC (@INC contains:
/star-nanahope/Perl/lib/perl5/5.10.0/x86_64-linux
/star-nanahope/Perl/lib/perl5/5.10.0
/star-nanahope/Perl/lib/perl5/site_perl/5.10.0/x86_64-linux
/star-nanahope/Perl/lib/perl5/site_perl/5.10.0 .) at
/star/Perl/bin/autoastrom line 316.
We find that perl is all linked to /star-nanahope and thus, if we add the
soft link
ln -s /star /star-nanahope
everything works fine.
Rather defeats our object of easing our software maintenance.
Cheers
Rodney
p.s. we have one machine that is running hawaiki. Doesn't give the same
error but instead fails with the error
Can't execute "/star/Perl/bin/autoastrom": no such file or directory
(bgexec): can't execute "/star/Perl/bin/autoastrom": no such file or directory
while executing
"blt::bgexec [scope forret_(::gaia::GaiaAutoAstrom::gaiaForeignExec0)]
-keepnewline 0 -error [scope
forerr_(::gaia::GaiaAutoAstrom::gaiaForeignExec0)..."
("eval" body line 1)
invoked from within
"eval "blt::bgexec \[scope forret_($this)\] -keepnewline $keepnewlines
-error \[scope forerr_($this)\] -output \[scope forout_($this)\] -onoutput
\..."
(/star/Perl/bin/autoastrom does exist)
|