On Monday, August 19, 2002, at 12:42 , Nikola Janceski wrote:
[..]
> but if run it via an rsh command (on the same host for now):
> /bin/rsh host1 /yyy/TreeInfo/tmp/gather_os_info.pl
>
> I get the following error:
> Can't locate object method "new" via package "XML::SAX::PurePerl" (perhaps
> you forgot to load "XML::SAX::PurePerl"?) at
> /yyy/perl-5.6.1-unix/lib/perl5/site_perl/5.6.1/XML/SAX/ParserFactory.pm
> line
> 37.
[..]
you have ruled out the usual 'more than one perl' problem with
/bin/rsh host1 "perl -V"
and that it is the perl that you expect???? Since it
is possible - IF you have more than one version of
perl running on the host, AND the ordering of the
PATH is different - then you may be invoking a version
who's notion of what the @INC should be is NOT the
one that you expect....
also tell me you are not running into the less
well known problem of the '-n' problem with rsh.
sometimes what you neeed to do is
/bin/rsh -n host1 cmd
so that it does not try to read STDIN from
your current shell into it....
I can't imagine why that might be an issue,
but at times that has been the 'irrational fix'
HTH.
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]