This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem installing perl module Net::SSH::Expect


Yes, you were right, I hadn't installed make package.
After installing I made second unsuccessful attempt to install
Net::SSH::Expect:

cpan[1]> install Net::SSH::Expect
CPAN: Storable loaded ok (v2.20)
Going to read '/home/Ivo/.cpan/Metadata'
  Database was generated on Wed, 10 Feb 2010 16:58:03 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 28 yaml files from /home/Ivo/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9719)
DONE
Restored the state of none (in 0.7344 secs)
Running install for module 'Net::SSH::Expect'
Running make for B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for
/home/Ivo/.cpan/sources/authors/id/B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.
gz ok
Scanning cache /home/Ivo/.cpan/build for sizes
........................................................................
....DONE
CPAN: Archive::Tar loaded ok (v1.52)
Net-SSH-Expect-1.09/
Net-SSH-Expect-1.09/lib/
Net-SSH-Expect-1.09/lib/Net/
Net-SSH-Expect-1.09/lib/Net/SSH/
Net-SSH-Expect-1.09/lib/Net/SSH/Expect.pod
Net-SSH-Expect-1.09/lib/Net/SSH/Expect.pm
Net-SSH-Expect-1.09/MANIFEST
Net-SSH-Expect-1.09/META.yml
Net-SSH-Expect-1.09/t/
Net-SSH-Expect-1.09/t/Net-SSH-Expect.t
Net-SSH-Expect-1.09/Changes
Net-SSH-Expect-1.09/README
Net-SSH-Expect-1.09/Makefile.PL
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Expect 1.14 not found.
Writing Makefile for Net::SSH::Expect
---- Unsatisfied dependencies detected during ----
----    BNEGRAO/Net-SSH-Expect-1.09.tar.gz    ----
    Expect [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Expect'
Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz
  Has already been unwrapped into directory
/home/Ivo/.cpan/build/Expect-1.21-KrsCab
---- Unsatisfied dependencies detected during ----
----        RGIERSIG/Expect-1.21.tar.gz       ----
    IO::Pty [requires]
    IO::Tty [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make test
  Delayed until after prerequisites
Running make install
  make test had returned bad status, won't install without force
  Delayed until after prerequisites
Running install for module 'IO::Pty'
Running make for R/RG/RGIERSIG/IO-Tty-1.08.tar.gz
  Has already been unwrapped into directory
/home/Ivo/.cpan/build/IO-Tty-1.08-1CMSgO
  '/usr/bin/perl Makefile.PL' returned status 512, won't make
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Running install for module 'IO::Tty'
Running make for R/RG/RGIERSIG/IO-Tty-1.08.tar.gz
  Has already been unwrapped into directory
/home/Ivo/.cpan/build/IO-Tty-1.08-1CMSgO
  '/usr/bin/perl Makefile.PL' returned status 512, won't make
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz
  Has already been unwrapped into directory
/home/Ivo/.cpan/build/Expect-1.21-KrsCab
Warning: Prerequisite 'IO::Pty => 1.03' for
'RGIERSIG/Expect-1.21.tar.gz' failed when processing 'RG
IERSIG/IO-Tty-1.08.tar.gz' with 'writemakefile => NO '/usr/bin/perl
Makefile.PL' returned status 512
'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'IO::Tty => 1.03' for
'RGIERSIG/Expect-1.21.tar.gz' failed when processing 'RG
IERSIG/IO-Tty-1.08.tar.gz' with 'writemakefile => NO '/usr/bin/perl
Makefile.PL' returned status 512
'. Continuing, but chances to succeed are limited.
  Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-Iblib/lib" "-Iblib/arch" test.pl
1..42
Can't locate IO/Pty.pm in @INC (@INC contains: blib/lib blib/arch
/usr/lib/perl5/5.10/i686-cygwin /u
sr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10 /usr/lib/p
erl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/vendor_perl/5.10 /u
sr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at
blib/lib/Expect.pm line 22.
BEGIN failed--compilation aborted at blib/lib/Expect.pm line 22.
Compilation failed in require at test.pl line 27.
BEGIN failed--compilation aborted at test.pl line 27.
make: *** [test_dynamic] Error 2
  RGIERSIG/Expect-1.21.tar.gz
  make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
  reports RGIERSIG/Expect-1.21.tar.gz
Running make install
  make test had returned bad status, won't install without force
Running make for B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz
  Has already been unwrapped into directory
/home/Ivo/.cpan/build/Net-SSH-Expect-1.09-2fZoP5

  CPAN.pm: Going to build B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz

Warning: Prerequisite 'Expect => 1.14' for
'BNEGRAO/Net-SSH-Expect-1.09.tar.gz' failed when processi
ng 'RGIERSIG/Expect-1.21.tar.gz' with 'make_test => NO'. Continuing, but
chances to succeed are limi
ted.
cp lib/Net/SSH/Expect.pod blib/lib/Net/SSH/Expect.pod
cp lib/Net/SSH/Expect.pm blib/lib/Net/SSH/Expect.pm
Manifying blib/man3/Net.SSH.Expect.3pm
  BNEGRAO/Net-SSH-Expect-1.09.tar.gz
  make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'bli
b/arch')" t/*.t
t/Net-SSH-Expect.t .. 1/1
#   Failed test 'use Net::SSH::Expect;'
#   at t/Net-SSH-Expect.t line 9.
#     Tried to use 'Net::SSH::Expect'.
#     Error:  Can't locate Expect.pm in @INC (@INC contains:
/home/Ivo/.cpan/build/Net-SSH-Expect-1.
09-2fZoP5/blib/lib
/home/Ivo/.cpan/build/Net-SSH-Expect-1.09-2fZoP5/blib/arch
/usr/lib/perl5/5.10/i6
86-cygwin /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.1
0 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_
perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
at /home/Ivo/.cpan/build/Ne
t-SSH-Expect-1.09-2fZoP5/blib/lib/Net/SSH/Expect.pm line 10.
# BEGIN failed--compilation aborted at
/home/Ivo/.cpan/build/Net-SSH-Expect-1.09-2fZoP5/blib/lib/Net
/SSH/Expect.pm line 10.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Net-SSH-Expect.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Test Summary Report
-------------------
t/Net-SSH-Expect.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  1 wallclock secs ( 0.05 usr  0.17 sys +  0.28 cusr
0.31 csys =  0.81 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 1
  BNEGRAO/Net-SSH-Expect-1.09.tar.gz
  make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,
try:
  reports BNEGRAO/Net-SSH-Expect-1.09.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 RGIERSIG/Expect-1.21.tar.gz                  : make_test NO
 BNEGRAO/Net-SSH-Expect-1.09.tar.gz           : make_test NO

cpan[2]>

Any ideas ?



-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Larry Hall (Cygwin)
Sent: Wednesday, February 10, 2010 7:39 PM
To: cygwin@cygwin.com
Subject: Re: Problem installing perl module Net::SSH::Expect

On 02/10/2010 11:58 AM, Ivaylo Terziyski wrote:
> I do not know whether the problem is caused by missing package of
Cygwin
> or something else ?

Looks like you're missing 'make'.  I would start by checking to see if
you've
installed the package.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]