Hi.

I want to install module. I make: perl -MCPAN -e shell and then: install Net::SSH::Perl I get:

...................................... Fetching with LWP: http://www.perl.org/CPAN/authors/id/T/TU/TURNSTEP/CHECKSUMS Checksum for /home/stas/.cpan/sources/authors/id/T/TU/TURNSTEP/Net-SSH +-Perl-1.34.tar.gz ok Scanning cache /home/stas/.cpan/build for sizes Use of uninitialized value $newdir in substitution (s///) at /usr/loca +l/lib/perl/5.10.0/Cwd.pm line 502. Use of uninitialized value $newdir in chdir at /usr/local/lib/perl/5.1 +0.0/Cwd.pm line 510. Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/loca +l/lib/perl/5.10.0/Cwd.pm line 510. Use of uninitialized value $newdir in pattern match (m//) at /usr/loca +l/lib/perl/5.10.0/Cwd.pm line 523. Use of uninitialized value $newdir in split at /usr/local/lib/perl/5.1 +0.0/Cwd.pm line 531. DONE CPAN: Archive::Tar loaded ok (v1.54) Net-SSH-Perl-1.34/ ......................................

also later I get:

.................................................... Use of uninitialized value $_[0] in join or string at /usr/local/lib/p +erl/5.10.0/File/Spec/Unix.pm line 86. Use of uninitialized value $path in pattern match (m//) at /usr/local/ +lib/perl/5.10.0/File/Spec/Unix.pm line 267. Use of uninitialized value $_[0] in join or string at /usr/local/lib/p +erl/5.10.0/File/Spec/Unix.pm line 86. Use of uninitialized value $path in pattern match (m//) at /usr/local/ +lib/perl/5.10.0/File/Spec/Unix.pm line 267. Use of uninitialized value $_[0] in join or string at /usr/local/lib/p +erl/5.10.0/File/Spec/Unix.pm line 86. Use of uninitialized value $path in pattern match (m//) at /usr/local/ +lib/perl/5.10.0/File/Spec/Unix.pm line 267. Use of uninitialized value $_[0] in join or string at /usr/local/lib/p +erl/5.10.0/File/Spec/Unix.pm line 86. ......................................................

I can post full output but it'll occupy a lot space, if it needed let me know please.

And result:

Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] TURNSTEP/Net-SSH-Perl-1.34.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: TURNSTEP/Net-SSH-Perl-1.34.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL INSTALLDIRS=site' returned status -1

How I can fix it?

Thanks in advance!


In reply to Module install problem by Stanislav

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.