Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Net-SFTP dependency missing

by rewurzb (Initiate)
on Dec 09, 2020 at 19:53 UTC ( [id://11124907]=perlquestion: print w/replies, xml ) Need Help??

rewurzb has asked for the wisdom of the Perl Monks concerning the following question:

Attempts to install Net-SFTP fail due to missing dependency Net-SSH-Perl-2.12. CPAN only has Net-SSH-Perl-2.01 and 2.14. How do I get CPAN to attempt install of Net-SFTP using Net-SSH-Perl-2.14 so my Perl application will work?

Replies are listed 'Best First'.
Re: Net-SFTP dependency missing
by marto (Cardinal) on Dec 09, 2020 at 20:21 UTC
Re: Net-SFTP dependency missing
by Fletch (Bishop) on Dec 09, 2020 at 20:03 UTC

    Rather than relying on the dependency to do so go ahead and install Net::SSH::Perl first, then install Net::SFTP perhaps?

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re: Net-SFTP dependency missing
by salva (Canon) on Dec 12, 2020 at 11:50 UTC
    Package dependency version requirements don't state a specific version but the minimum one supported.

    Actually it is very uncommon for a Perl package to require a specific version of a dependency. It is not even supported by the toolset.

    So, Net::SSH::Perl 2.14 should be ok.

    In any case, take a look too at Net::SFTP::Foreign (provides much better API) and Net::SFTP::Foreign::Compat (API compatible with Net::SFTP, but uses the ssh binary under the hood, instead of Net::SSH::Perl).

Re: Net-SFTP dependency missing
by perlfan (Vicar) on Dec 11, 2020 at 19:07 UTC
    Even if you get it running, please contact the maintainer and ask him to load the latest version on CPAN.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11124907]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-18 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found