Skip Menu |

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id: 17461
Status: rejected
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors: rui.f.meireles [...] telecom.pt
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: Net-SSH2 Installation
Actually, I'm installing Net-SSH2-0.06 (not Net-SSH2-0.05). I have installed (by this order, without having any problem, exactly the way described in each README), the following modules: - openssl-0.9.8a - zlib-1.2.3 - libssh2-0.12 - TermReadKey-2.30 Now I'm installing Net-SSH2-0.06: [root@NMCPorto Net-SSH2-0.06]# perl Makefile.PL Net::SSH2: using library -L/usr/local/lib -lssh2 and include path - I/usr/local/include. Checking if your kit is complete... Looks good Writing Makefile for Net::SSH2 [root@NMCPorto Net-SSH2-0.06]# make cp lib/Net/SSH2/File.pm blib/lib/Net/SSH2/File.pm cp lib/Net/SSH2/Dir.pm blib/lib/Net/SSH2/Dir.pm cp lib/Net/SSH2/SFTP.pm blib/lib/Net/SSH2/SFTP.pm cp lib/Net/SSH2/Listener.pm blib/lib/Net/SSH2/Listener.pm cp lib/Net/SSH2/Channel.pm blib/lib/Net/SSH2/Channel.pm cp lib/Net/SSH2.pm blib/lib/Net/SSH2.pm AutoSplitting blib/lib/Net/SSH2.pm (blib/lib/auto/Net/SSH2) /usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp - typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap SSH2.xs > SSH2.xsc && mv SSH2.xsc SSH2.c gcc -c -I/usr/local/include -I. -D_REENTRANT -D_GNU_SOURCE - DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g - pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona - DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -fPIC "- I/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/CORE" SSH2.c SSH2.xs: In function âXS_Net__SSH2__PublicKey_addâ: SSH2.xs:1729: warning: pointer targets in passing argument 2 of âlibssh2_publickey_add_exâ differ in signedness SSH2.xs:1729: warning: pointer targets in passing argument 4 of âlibssh2_publickey_add_exâ differ in signedness SSH2.xs: In function âXS_Net__SSH2__PublicKey_removeâ: SSH2.xs:1743: warning: pointer targets in passing argument 2 of âlibssh2_publickey_remove_exâ differ in signedness SSH2.xs:1743: warning: pointer targets in passing argument 4 of âlibssh2_publickey_remove_exâ differ in signedness Running Mkbootstrap for Net::SSH2 () chmod 644 SSH2.bs rm -f blib/arch/auto/Net/SSH2/SSH2.so gcc -shared SSH2.o -o blib/arch/auto/Net/SSH2/SSH2.so - L/usr/local/lib -lssh2 chmod 755 blib/arch/auto/Net/SSH2/SSH2.so cp SSH2.bs blib/arch/auto/Net/SSH2/SSH2.bs chmod 644 blib/arch/auto/Net/SSH2/SSH2.bs Manifying blib/man3/Net::SSH2::File.3pm Manifying blib/man3/Net::SSH2::Dir.3pm Manifying blib/man3/Net::SSH2::SFTP.3pm Manifying blib/man3/Net::SSH2::Listener.3pm Manifying blib/man3/Net::SSH2::Channel.3pm Manifying blib/man3/Net::SSH2.3pm [root@NMCPorto Net-SSH2-0.06]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Net-SSH2....# Failed test (t/Net-SSH2.t at line 19) # Tried to use 'Net::SSH2'. # Error: Can't load '/home/config/Modulos_Perl/Net-SSH2/Net-SSH2- 0.06/blib/arch/auto/Net/SSH2/SSH2.so' for module Net::SSH2: libssh2.so: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/DynaLoader.pm line 230. # at (eval 1) line 2 # Compilation failed in require at (eval 1) line 2. t/Net-SSH2....NOK 1&Net::SSH2::constant not defined at t/Net-SSH2.t line 22 # Looks like you planned 72 tests but only ran 1. # Looks like your test died just after 1. t/Net-SSH2....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-72 Failed 72/72 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/Net-SSH2.t 255 65280 72 143 198.61% 1-72 Failed 1/1 test scripts, 0.00% okay. 72/72 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 Why is this error happening? How may I solve it? Thanks! Running in: Linux Fedora 4 x86_64 Perl v5.8.6 built for x86_64-linux-thread-multi. Net::SSH::Perl-1.29