develooper Front page | perl.beginners | Postings from October 2008

Re: Help required in writing a script

Thread Previous | Thread Next
Rob Dixon
October 23, 2008 15:07
Re: Help required in writing a script
Message ID:
monnappa appaiah wrote:
>        i tried to install the "Expect" module........but i got the below
> error msg:


> cpan> install Expect
> Running install for module 'Expect'


> Checking if your kit is complete...
> Looks good
> Warning: prerequisite IO::Pty 1.03 not found.
> Warning: prerequisite IO::Tty 1.03 not found.


> Running make for 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
>    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.


> can someone help me install this module under windows

In their endless search for money, Microsoft don't supply a C compiler,
assembler, or linker with any version of Windows in the last twenty years or so.
Also, because of several deliberate decisions to make people pay for as much as
possible, it is difficult and awkward to get CPAN working on a Windows platform.

Microsoft's 'nmake' is available for free, but some versions have been more
compatible with standard modules than others, and in any case, as there is still
no C compiler, on its own it is a solution only for pure Perl modules.

Depending on what version of perl you have installed there may be tidier ways of
installing modules on your machine. If you have ActivePerl then ppm is your
answer, but there will still be no 'Expect' module available as it is very tied
to the Unix architecture.

You have reached a dead end I'm afraid, but remember that vanilla Net::SSH
should work fine on your platform.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About