Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: net::ssh2 module wont install RHEL6

by Anonymous Monk
on Jan 15, 2013 at 11:14 UTC ( [id://1013360]=note: print w/replies, xml ) Need Help??


in reply to net::ssh2 module wont install RHEL6

What happens when you run  make?

Replies are listed 'Best First'.
Re^2: net::ssh2 module wont install RHEL6
by SkyFulcrum (Initiate) on Jan 15, 2013 at 12:07 UTC
    Here the output of the rpm info (I forgot to quote the dev package sorry):
    rpm -ql libssh2-devel /usr/include/libssh2.h /usr/include/libssh2_publickey.h /usr/include/libssh2_sftp.h /usr/lib64/libssh2.so /usr/lib64/pkgconfig/libssh2.pc /usr/share/doc/libssh2-devel-1.2.2 /usr/share/doc/libssh2-devel-1.2.2/COPYING rpm -ql libssh2 /usr/lib64/libssh2.so.1 /usr/lib64/libssh2.so.1.0.1 /usr/share/doc/libssh2-1.2.2 /usr/share/doc/libssh2-1.2.2/AUTHORS /usr/share/doc/libssh2-1.2.2/COPYING /usr/share/doc/libssh2-1.2.2/ChangeLog /usr/share/doc/libssh2-1.2.2/NEWS /usr/share/doc/libssh2-1.2.2/README
    Now i run make / make install with following output:
    make Skip blib/lib/Net/SSH2/File.pm (unchanged) Skip blib/lib/Net/SSH2/PublicKey.pm (unchanged) Skip blib/lib/Net/SSH2/Dir.pm (unchanged) Skip blib/lib/Net/SSH2/SFTP.pm (unchanged) Skip blib/lib/Net/SSH2/Listener.pm (unchanged) Skip blib/lib/Net/SSH2/Channel.pm (unchanged) Skip blib/lib/Net/SSH2.pm (unchanged) cc -c -I/usr/include -I. -fno-strict-aliasing -pipe -fstack-protector + -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 + -DVERSION=\"0.46\" -DXS_VERSION=\"0.46\" -fPIC "-I/usr/bin/perl5.16 +/lib/5.16.2/x86_64-linux/CORE" SSH2.c Running Mkbootstrap for Net::SSH2 () chmod 644 SSH2.bs rm -f blib/arch/auto/Net/SSH2/SSH2.so LD_RUN_PATH="/usr/local/lib:/lib/../lib64:/usr/lib/../lib64" cc -shar +ed -O2 -L/usr/local/lib -fstack-protector SSH2.o -o blib/arch/auto/N +et/SSH2/SSH2.so \ -L/usr/local/lib -lssh2 -lz -lssl -lcrypto \ 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.3 Manifying blib/man3/Net::SSH2::Dir.3 Manifying blib/man3/Net::SSH2::PublicKey.3 Manifying blib/man3/Net::SSH2::SFTP.3 Manifying blib/man3/Net::SSH2::Listener.3 Manifying blib/man3/Net::SSH2::Channel.3 Manifying blib/man3/Net::SSH2.3 and make install Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/auto/Ne +t/SSH2/SSH2.bs Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/auto/Ne +t/SSH2/SSH2.so Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/auto/Ne +t/SSH2/autosplit.ix Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2.pm Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2/PublicKey.pm Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2/Dir.pm Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2/File.pm Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2/Listener.pm Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2/Channel.pm Installing /usr/bin/perl5.16/lib/site_perl/5.16.2/x86_64-linux/Net/SSH +2/SFTP.pm Installing /usr/bin/perl5.16/man/man3/Net::SSH2::PublicKey.3 Installing /usr/bin/perl5.16/man/man3/Net::SSH2.3 Installing /usr/bin/perl5.16/man/man3/Net::SSH2::File.3 Installing /usr/bin/perl5.16/man/man3/Net::SSH2::SFTP.3 Installing /usr/bin/perl5.16/man/man3/Net::SSH2::Channel.3 Installing /usr/bin/perl5.16/man/man3/Net::SSH2::Dir.3 Installing /usr/bin/perl5.16/man/man3/Net::SSH2::Listener.3 Appending installation info to /usr/bin/perl5.16/lib/5.16.2/x86_64-lin +ux/perllocal.pod
    When i check now with perldoc perllocal if found following entry:
    Tue Jan 15 12:58:39 2013: "Module" Net::SSH2 · "installed into: /usr/bin/perl5.16/lib/site_perl/5.16.2" · "LINKTYPE: dynamic" · "VERSION: 0.46" · "EXE_FILES: "
    Due there where no error included, could it be that the installation is correct?

      Due there where no error included, could it be that the installation is correct?

      Probably , although you should run  make test before installing ...  cpan Module usually does that

        Seems to be working - Got connection and is working in script.

        @all: Many thanks for your help

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1013360]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found