Hi All,
I have installed cygwin on my Windows XP machine. I want to install
perl expect module but i am getting the following .error? Can any one please
guide me.
[EMAIL PROTECTED] ~
$ perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support enabled
cpan> m /Expect/
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz
Going to read C:\Perl\cpan\sources\authors\01mailrc.txt.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/02packages.details.txt.gz
Going to read C:\Perl\cpan\sources\modules\02packages.details.txt.gz
Database was generated on Sat, 22 Sep 2007 10:36:43 GMT
There's a new CPAN.pm version (v1.9102) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Fetching with LWP:
http://ppm.activestate.com/CPAN/modules/03modlist.data.gz
Going to read C:\Perl\cpan\sources\modules\03modlist.data.gz
Going to write C:\Perl\cpan\Metadata
Module Bio::MAGE::QuantitationType::ExpectedValue (J/JA/JASONS/Bio-MAGE
-20020902.6.tar.gz)
Module CPAN::Test::Dummy::Perl5::Make::Expect (A/AN/ANDK/CPAN-Test-Dumm
y-Perl5-Make-Expect-1.00.tar.gz)
Module Expect (R/RG/RGIERSIG/Expect-1.21.tar.gz)
Module Expect::Simple (D/DJ/DJERIUS/Expect-Simple-0.03.tar.gz)
Module IDS::DataSource::HTTP::Expectation (I/IN/INGHAM/IDS-HTTP-1.01.ta
r.gz)
Module Net::SCP::Expect (D/DJ/DJBERG/Net-SCP-Expect-0.12.tar.gz)
Module Net::SSH::Expect (B/BN/BNEGRAO/Net-SSH-Expect-1.04.tar.gz)
Module Test::Expect (L/LB/LBROCARD/Test-Expect-0.30.tar.gz)
Module WWW::Postini::Exception::UnexpectedResponse (P/PG/PGUZIS/WWW-Pos
tini-0.01.tar.gz)
9 items found
cpan> install Expect
Running install for module Expect
Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/R/RG/RGIERSIG/Expect-1.21.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/R/RG/RGIERSIG/CHECKSUMS
Checksum for C:\Perl\cpan\sources\authors\id\R\RG\RGIERSIG\Expect-1.21.tar.gz ok
Scanning cache c:\Perl/cpan/build for sizes
CPAN: Archive::Tar loaded ok
Expect-1.21/
Expect-1.21/Changes
Expect-1.21/examples/
Expect-1.21/examples/kibitz/
Expect-1.21/examples/kibitz/Changelog
Expect-1.21/examples/kibitz/kibitz
Expect-1.21/examples/kibitz/kibitz.man
Expect-1.21/examples/kibitz/README
Expect-1.21/examples/ssh.pl
Expect-1.21/Expect.pm
Expect-1.21/Expect.pod
Expect-1.21/Makefile.PL
Expect-1.21/MANIFEST
Expect-1.21/META.yml
Expect-1.21/README
Expect-1.21/test.pl
Expect-1.21/tutorial/
Expect-1.21/tutorial/1.A.Intro
Expect-1.21/tutorial/2.A.ftp
Expect-1.21/tutorial/2.B.rlogin
Expect-1.21/tutorial/3.A.debugging
Expect-1.21/tutorial/4.A.top
Expect-1.21/tutorial/5.A.top
Expect-1.21/tutorial/5.B.top
Expect-1.21/tutorial/6.A.smtp-verify
Expect-1.21/tutorial/6.B.modem-init
Expect-1.21/tutorial/README
CPAN.pm: Going to build R/RG/RGIERSIG/Expect-1.21.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite IO::Pty 1.03 not found.
Warning: prerequisite IO::Tty 1.03 not found.
Writing Makefile for Expect
---- Unsatisfied dependencies detected during [R/RG/RGIERSIG/Expect-1.21.tar.gz]
-----
IO::Pty
IO::Tty
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 IO::Pty
Running make for R/RG/RGIERSIG/IO-Tty-1.07.tar.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/R/RG/RGIERSIG/IO-Tty-1.07.tar.gz
Checksum for C:\Perl\cpan\sources\authors\id\R\RG\RGIERSIG\IO-Tty-1.07.tar.gz ok
IO-Tty-1.07/
IO-Tty-1.07/ChangeLog
IO-Tty-1.07/Makefile.PL
IO-Tty-1.07/MANIFEST
IO-Tty-1.07/META.yml
IO-Tty-1.07/Pty.pm
IO-Tty-1.07/README
IO-Tty-1.07/test.pl
IO-Tty-1.07/try
IO-Tty-1.07/Tty.pm
IO-Tty-1.07/Tty.xs
CPAN.pm: Going to build R/RG/RGIERSIG/IO-Tty-1.07.tar.gz
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
ERROR: cannot run the configured compiler 'cl'
(see conf/compilerok.log). Suggestions:
1) The complier 'cl' is not in your PATH. Add it
to the PATH and try again. OR
2) The compiler isn't installed on your system. Install it. OR
3) You only have a different compiler installed (e.g. 'gcc').
Either fix the compiler config in the perl Config.pm
or install a perl that was built with the right compiler
(you could build perl yourself with the available compiler).
Note: this is a system-administration issue, please ask your local
admin for help. Thank you.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Running install for module IO::Tty
Running make for R/RG/RGIERSIG/IO-Tty-1.07.tar.gz
Is already unwrapped into directory C:\Perl\cpan\build\IO-Tty-1.07
Makefile.PL returned status 512
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz
Is already unwrapped into directory C:\Perl\cpan\build\Expect-1.21
CPAN.pm: Going to build R/RG/RGIERSIG/Expect-1.21.tar.gz
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp Expect.pm blib\lib\Expect.pm
cp Expect.pod blib\lib\Expect.pod
nmake -- OK
Running make test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl\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 C:/Perl/site/l
ib C:/Perl/lib .) 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.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
nmake test -- NOT OK
Running make install
make test had returned bad status, won't install without force
cpan>
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.