hello all,
I installed the NET::SSH::Perl module on my SunOS 5.9
sparc (with the Sun compiler )with the command
perl -MCPAN -e 'install Net::SSH::Perl'
and it got installed "hopefully" bcos i got the message
" Net::SSH::Perl is up to date (1.30)."
but when i try to run the my script which uses this module, i get errors.
the script is as follows
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new("veasol9-02.vxindia.veritas.com");
$ssh->login($user, varsha);
my($stdout, $stderr, $exit) = $ssh->cmd(ls);
and the error after running the above script is
Can't locate Math/Pari.pm in @INC (@INC contains:
/usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/Util/SSH2MP.pm line 6.
BEGIN failed--compilation aborted at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/Util/SSH2MP.pm line 6.
Compilation failed in require at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/Util.pm line 56.
BEGIN failed--compilation aborted at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/Kex/DH1.pm line 10.
Compilation failed in require at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/Kex.pm line 6.
BEGIN failed--compilation aborted at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/Kex.pm line 6.
Compilation failed in require at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/SSH2.pm line 6.
BEGIN failed--compilation aborted at
/usr/perl5/site_perl/5.6.1/Net/SSH/Perl/SSH2.pm line 6.
Compilation failed in require at /usr/perl5/site_perl/5.6.1/Net/SSH/Perl.pm
line 54.
then i try to install the Math::Pari module as follows...
perl -MCPAN -e 'install Math::Pari'
and i get the error========>
Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Can't locate Net/FTP.pm in @INC (@INC contains: utils
/usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at
utils/Math/PariBuild.pm line 236, <STDIN> line 1.
Can't fetch file with Net::FTP, now trying with LWP::UserAgent...
You do not have LWP::UserAgent and/or HTML::LinkExtor installed, cannot
download, exiting... at utils/Math/PariBuild.pm line 265, <STDIN> line 1.
Warning: No success on command[/usr/bin/perl Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent
state
ILYAZ/modules/Math-Pari-2.010709.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read '/.cpan/build/Math-Pari-2.010709-ttnpyy/META.yml'. Falling
back to other methods to determine prerequisites
----end of error-------------
So the question is though all the dependent modules were installed(bcos i
use >> perl -MCPAN -e 'install Net::SSH::Perl')
still why it is asking me for other modules to load. N plz help me by
telling me how to load the Math::Pari module on
my SunOS 5.9 sparc.
Amar.
|