hallo
wie kann ich Net::SFTP perl module unter etch stable installieren ?
gruss
ccc
Net::SFTP perl module unter etch installieren
habe probiert, aber scheint irgendwie nicht zu funktionieren:
Code: Alles auswählen
# cpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install Net::SFTP
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 26 Oct 2007 03:36:33 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.solnet.ch/mirror/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://ftp.solnet.ch/mirror/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Sat, 27 Oct 2007 15:36:34 GMT
There's a new CPAN.pm version (v1.9203) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Fetching with LWP:
ftp://ftp.solnet.ch/mirror/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Net::SFTP
Running make for D/DB/DBROBINS/Net-SFTP-0.10.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DB/DBROBINS/Net-SFTP-0.10.tar.gz o k
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/Net-SFTP-0.10 (24.7>10.0 MB)
Deleting from cache: /root/.cpan/build/Crypt-DES-2.05 (24.4>10.0 MB)
Deleting from cache: /root/.cpan/build/Crypt-DES_EDE3-0.01 (24.2>10.0 MB)
Deleting from cache: /root/.cpan/build/Convert-ASN1-0.21 (24.1>10.0 MB)
Deleting from cache: /root/.cpan/build/Class-ErrorHandler-0.01 (23.7>10.0 MB)
Deleting from cache: /root/.cpan/build/Convert-PEM-0.07 (23.5>10.0 MB)
Deleting from cache: /root/.cpan/build/Data-Buffer-0.04 (23.3>10.0 MB)
Deleting from cache: /root/.cpan/build/Crypt-DSA-0.14 (23.2>10.0 MB)
Deleting from cache: /root/.cpan/build/String-CRC32-1.4 (22.9>10.0 MB)
Deleting from cache: /root/.cpan/build/Crypt-CBC-2.24 (22.8>10.0 MB)
Deleting from cache: /root/.cpan/build/Crypt-Blowfish-2.10 (22.5>10.0 MB)
Deleting from cache: /root/.cpan/build/Tie-EncryptedHash-1.21 (22.4>10.0 MB)
Deleting from cache: /root/.cpan/build/Math-Pari-2.010709 (22.2>10.0 MB)
Net-SFTP-0.10/
Net-SFTP-0.10/eg/
Net-SFTP-0.10/eg/psftp
Net-SFTP-0.10/t/
Net-SFTP-0.10/t/06-circular.t
Net-SFTP-0.10/t/01-load.t
Net-SFTP-0.10/Changes
Net-SFTP-0.10/MANIFEST
Net-SFTP-0.10/MANIFEST.SKIP
Net-SFTP-0.10/lib/
Net-SFTP-0.10/lib/Net/
Net-SFTP-0.10/lib/Net/SFTP/
Net-SFTP-0.10/lib/Net/SFTP/Util.pm
Net-SFTP-0.10/lib/Net/SFTP/Attributes.pm
Net-SFTP-0.10/lib/Net/SFTP/Buffer.pm
Net-SFTP-0.10/lib/Net/SFTP/Constants.pm
Net-SFTP-0.10/lib/Net/SFTP.pm
Net-SFTP-0.10/ToDo
Net-SFTP-0.10/META.yml
Net-SFTP-0.10/LICENSE
Net-SFTP-0.10/Makefile.PL
Net-SFTP-0.10/README
CPAN.pm: Going to build D/DB/DBROBINS/Net-SFTP-0.10.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite Net::SSH::Perl 1.24 not found.
Writing Makefile for Net::SFTP
---- Unsatisfied dependencies detected during [D/DB/DBROBINS/Net-SFTP-0.10.tar.g z] -----
Net::SSH::Perl
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
wenn ich mit
yes
bestätige, bekomme ich folgende Fehlermeldungen:
yes
bestätige, bekomme ich folgende Fehlermeldungen:
Code: Alles auswählen
# Looks like your test died before it could output anything.
t/02-buffer......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/03-packet......Can't locate Math/GMP.pm in @INC (@INC contains: /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl/Util/SSH1MP.pm line 7.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl/Util/SSH1MP.pm line 7.
Compilation failed in require at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl/Util.pm line 56.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl/Key/RSA1.pm line 6.
Compilation failed in require at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl/SSH1.pm line 13.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl/SSH1.pm line 13.
Compilation failed in require at /root/.cpan/build/Net-SSH-Perl-1.30-gJgHNi/blib/lib/Net/SSH/Perl.pm line 54.
# Looks like your test died before it could output anything.
t/03-packet......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/04-config......ok
t/05-cipher......ok
t/06-circular....ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/02-buffer.t 255 65280 19 38 1-19
t/03-packet.t 255 65280 10 20 1-10
Failed 2/6 test scripts. 29/116 subtests failed.
Files=6, Tests=116, 1 wallclock secs ( 0.56 cusr + 0.05 csys = 0.61 CPU)
Failed 2/6 test programs. 29/116 subtests failed.
make: *** [test_dynamic] Error 255
DBROBINS/Net-SSH-Perl-1.30.tar.gz
/usr/bin/make test -- NOT OK
//hint// To get more information about failing tests, try:
reports DBROBINS/Net-SSH-Perl-1.30.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for D/DB/DBROBINS/Net-SFTP-0.10.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Net-SFTP-0.10-bpCflJ
CPAN.pm: Going to build D/DB/DBROBINS/Net-SFTP-0.10.tar.gz
Warning: Prerequisite 'Net::SSH::Perl => 1.24' for 'D/DB/DBROBINS/Net-SFTP-0.10.tar.gz' failed when processing 'D/DB/DBROBINS/Net-SSH-Perl-1.30.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
cp lib/Net/SFTP/Util.pm blib/lib/Net/SFTP/Util.pm
cp lib/Net/SFTP.pm blib/lib/Net/SFTP.pm
cp lib/Net/SFTP/Attributes.pm blib/lib/Net/SFTP/Attributes.pm
cp lib/Net/SFTP/Buffer.pm blib/lib/Net/SFTP/Buffer.pm
cp lib/Net/SFTP/Constants.pm blib/lib/Net/SFTP/Constants.pm
Manifying blib/man3/Net::SFTP::Util.3pm
Manifying blib/man3/Net::SFTP.3pm
Manifying blib/man3/Net::SFTP::Attributes.3pm
Manifying blib/man3/Net::SFTP::Buffer.3pm
Manifying blib/man3/Net::SFTP::Constants.3pm
DBROBINS/Net-SFTP-0.10.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-load........Can't locate Net/SSH/Perl/Buffer.pm in @INC (@INC contains: /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Buffer.pm line 6.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Buffer.pm line 6.
Compilation failed in require at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Attributes.pm line 7.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Attributes.pm line 7.
Compilation failed in require at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP.pm line 8.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP.pm line 8.
Compilation failed in require at t/01-load.t line 5.
BEGIN failed--compilation aborted at t/01-load.t line 5.
t/01-load........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/06-circular....Can't locate Net/SSH/Perl/Buffer.pm in @INC (@INC contains: /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Buffer.pm line 6.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Buffer.pm line 6.
Compilation failed in require at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Attributes.pm line 7.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP/Attributes.pm line 7.
Compilation failed in require at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP.pm line 8.
BEGIN failed--compilation aborted at /root/.cpan/build/Net-SFTP-0.10-bpCflJ/blib/lib/Net/SFTP.pm line 8.
Compilation failed in require at t/06-circular.t line 5.
BEGIN failed--compilation aborted at t/06-circular.t line 5.
t/06-circular....dubious
Test returned status 2 (wstat 512, 0x200)
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01-load.t 2 512 1 2 1
t/06-circular.t 2 512 ?? ?? ??
Failed 2/2 test scripts. 1/1 subtests failed.
Files=2, Tests=1, 0 wallclock secs ( 0.02 cusr + 0.02 csys = 0.04 CPU)
Failed 2/2 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 2
DBROBINS/Net-SFTP-0.10.tar.gz
/usr/bin/make test -- NOT OK
//hint// To get more information about failing tests, try:
reports DBROBINS/Net-SFTP-0.10.tar.gz
Running make install
make test had returned bad status, won't install without force
dieses problem ist behoben !
1.)
# apt-get install dh-make-perl dpkg-dev
# apt-get install libdbi-perl libdbd-mysql-perl libdigest-md5-perl libdigest-sha1-perl libimage-size-perl libmime-lite-perl libmime-perl libcompress-zlib-perl libmime-base64-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libwww-perl libwww-perl libgd-perl libmailtools-perl libunicode-maputf8-perl libstorable-perl libtime-hires-perl
# apt-get install libnet-perl libgd-graph-perl libproc-process-perl librpc-xml-perl libsoap-lite-perl libxml-rss-perl libstring-crc32-perl
# apt-get install libmath-gmp-perl
2.)
# perl -MCPAN -e 'install Math::GMP'
yes
3.) habe Net-SSH-Perl-1.24 downloadet und installiert
perl Makefile.PL
make
make test
make install
4.) cpan> install Math::Pari
yes
5.) habe Net-SFTP-0.10 downloadet und installiert
perl Makefile.PL
make
make test
make install
und jetzt scheint zu funktionieren.
gruss
ccc
1.)
# apt-get install dh-make-perl dpkg-dev
# apt-get install libdbi-perl libdbd-mysql-perl libdigest-md5-perl libdigest-sha1-perl libimage-size-perl libmime-lite-perl libmime-perl libcompress-zlib-perl libmime-base64-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libwww-perl libwww-perl libgd-perl libmailtools-perl libunicode-maputf8-perl libstorable-perl libtime-hires-perl
# apt-get install libnet-perl libgd-graph-perl libproc-process-perl librpc-xml-perl libsoap-lite-perl libxml-rss-perl libstring-crc32-perl
# apt-get install libmath-gmp-perl
2.)
# perl -MCPAN -e 'install Math::GMP'
yes
3.) habe Net-SSH-Perl-1.24 downloadet und installiert
perl Makefile.PL
make
make test
make install
4.) cpan> install Math::Pari
yes
5.) habe Net-SFTP-0.10 downloadet und installiert
perl Makefile.PL
make
make test
make install
und jetzt scheint zu funktionieren.
gruss
ccc