Hi, i tried to install the "Expect" module........but i got the below error msg:
cpan> m /Expect/ Going to read C:\Perl\cpan\Metadata Database was generated on Mon, 20 Oct 2008 08:27:31 GMT Module Bio::MAGE::QuantitationType::ExpectedValue (JASONS/Bio-MAGE-20020902.6 .tar.gz) Module CPAN::Test::Dummy::Perl5::Make::Expect (ANDK/CPAN-Test-Dummy-Perl5-Mak e-Expect-1.00.tar.gz) Module < Expect (RGIERSIG/Expect-1.21.tar.gz) Module Expect::Angel (MINGZHANG/Angel_002.tar.gz) Module Expect::Simple (DJERIUS/Expect-Simple-0.04.tar.gz) Module IDS::DataSource::HTTP::Expectation (INGHAM/IDS-HTTP-1.01.tar.gz) Module Net::SCP::Expect (RYBSKEJ/Net-SCP-Expect-0.14.tar.gz) Module = Net::SSH::Expect (BNEGRAO/Net-SSH-Expect-1.09.tar.gz) Module Test::Expect (LBROCARD/Test-Expect-0.31.tar.gz) Module WWW::Postini::Exception::UnexpectedResponse (PGUZIS/WWW-Postini-0.01.t ar.gz) 10 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 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 DONE 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 ---- ---- RGIERSIG/Expect-1.21.tar.gz ---- IO::Pty [requires] IO::Tty [requires] 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. Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site ] RGIERSIG/IO-Tty-1.07.tar.gz C:\Perl\bin\perl.exe 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 Running install for module 'IO::Tty' Running make for R/RG/RGIERSIG/IO-Tty-1.07.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\IO-Tty-1.07-ZOJv0 E 'C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' 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 C:\Perl\cpan\build\Expect-1.21-9rXmi o CPAN.pm: Going to build R/RG/RGIERSIG/Expect-1.21.tar.gz Warning: Prerequisite 'IO::Pty => 1.03' for 'R/RG/RGIERSIG/Expect-1.21.tar.gz' f ailed when processing 'R/RG/RGIERSIG/IO-Tty-1.07.tar.gz' with 'writemakefile => NO 'C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512'. Con tinuing, but chances to succeed are limited. Warning: Prerequisite 'IO::Tty => 1.03' for 'R/RG/RGIERSIG/Expect-1.21.tar.gz' f ailed when processing 'R/RG/RGIERSIG/IO-Tty-1.07.tar.gz' with 'writemakefile => NO 'C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512'. Con tinuing, but chances to succeed are limited. 'nmake' is not recognized as an internal or external command, operable program or batch file. RGIERSIG/Expect-1.21.tar.gz nmake -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: RGIERSIG/Expect-1.21.tar.gz : make NO RGIERSIG/IO-Tty-1.07.tar.gz : writemakefile NO 'C:\Perl\bin\pe rl.exe Makefile.PL INSTALLDIRS=site' returned status 512 can someone help me install this module under windows Thanks, Monnappa On Thu, Oct 23, 2008 at 10:28 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 10:49, monnappa appaiah <[EMAIL PROTECTED]> > wrote: > > i want to run specific commands and the output of those shud be put into > a > > file. > snip > > So, you will need to learn to use: > > Net::SSH (if you want to use keys, this is preferable) - > http://search.cpan.org/dist/Net-SSH/SSH.pm > > or > > Net::SSH::Expect (if you want to use passwords) - > http://search.cpan.org/dist/Net-SSH-Expect/lib/Net/SSH/Expect.pod > > and > > IO::File - http://perldoc.perl.org/IO/File.html > fork - http://perldoc.perl.org/functions/fork.html > wait - http://perldoc.perl.org/functions/wait.html > warn - http://perldoc.perl.org/functions/warn.html > die - http://perldoc.perl.org/functions/die.html > exit - http://perldoc.perl.org/functions/exit.html > next - http://perldoc.perl.org/functions/next.html > for(each), while, and until loops and if statements - > http://perldoc.perl.org/perlsyn.html#Compound-Statements > > -- > Chas. Owens > wonkden.net > The most important skill a programmer can have is the ability to read. >