Schrift
[thread]10678[/thread]

NET::SFTP unter debian etch stable



<< >> 4 Einträge, 1 Seite
cc
 2007-10-29 00:21
#101513 #101513
User since
2004-01-09
55 Artikel
BenutzerIn
[default_avatar]
hallo

wie kann ich NET::SFTP unter debian etch stable installieren ?

habe probiert mit:
Code: (dl )
perl -MCPAN -e 'install Net::SFTP'


aber bekomme folgende errors:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# 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
ptk
 2007-10-29 01:46
#101519 #101519
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
Du hast leider nur eine 10%-ige Chance auf Erfolg, siehe hier: http://cpandeps.cantrell.org.uk/?module=Net%3A%3ASFTP

Bei mir klappt es auch nicht, anscheinend ist Math::GMP schuld. Bei
http://rt.cpan.org/Public/Dist/Display.html?Name=Math-GMP sehe ich auf dem ersten Blick viele Reports, die "64bit" im Subject haben (ich habe auch eine 64-Bit-Maschine). Und leider tut sich seit Jahren nichts. Du könntest nun nochmal an die Autoren schreiben und nachfragen (auch an den Net::SFTP-Autor), oder einfach trotz Testfehler installieren ("notest install Math::GMP" oder "force install Math::GMP") oder versuchen, das Problem mit einem Patch zu beheben.
ptk
 2007-10-29 01:58
#101520 #101520
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
Vielleicht kannst du das "force" wagen: http://rt.cpan.org/Ticket/Display.html?id=5960
cc
 2007-10-30 16:46
#101569 #101569
User since
2004-01-09
55 Artikel
BenutzerIn
[default_avatar]
ptk+2007-10-29 00:46:56--
Du hast leider nur eine 10%-ige Chance auf Erfolg, siehe hier: http://cpandeps.cantrell.org.uk/?module=Net%3A%3ASFTP


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.) habe Net-SFTP-0.10 downloadet und installiert

perl Makefile.PL
make
make test
make install


5.) cpan> install Math::Pari

yes


und jetzt scheint zu funktionieren.

gruss
cc
<< >> 4 Einträge, 1 Seite



View all threads created 2007-10-29 00:21.