Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

set up mingw-dmake environment

by AlexTape (Monk)
on Mar 22, 2011 at 14:15 UTC ( [id://894814]=perlquestion: print w/replies, xml ) Need Help??

AlexTape has asked for the wisdom of the Perl Monks concerning the following question:

First of all: Hello Monks ;-)

Perl -V 5.12.3

I want to use the Module Expect.
Requirements:
Expect
IO::Stty
IO::Tty
IO::Pty

AFAIK there are 2 ways to install a module:
- cpan shell
- ppm

ppm do not display io-pty s.o. for that i decided to go with cpan

cpan tells me that i got to get mingw and dmake.
1.question: how i can set vars in o conf? to get fresh with dmake? anybody got a good tut for installing it?
2.question: whats up with mingw? i started to install a 32bit version with msys shell. but cpan didnīt
recognize it. google gives me nothinh to work with. iīm helpless ;-)

probably thereīs a guide or something else?!

i know => RTFM .. please tell me which one ;-)

$perlig =~ s/pec/cep/g if 'errors expected';

Replies are listed 'Best First'.
Re: set up mingw-dmake environment
by marto (Cardinal) on Mar 22, 2011 at 15:09 UTC

    Type the following from the command line to install MinGW and buildtools (dmake):

    c:\ppm install mingw
      i were happy if it works ;-) but it doesnīt ;-)
      result => "ppm install failed: Can't find any package that provides mingw"
      the simple ways i tried already ^^
      $perlig =~ s/pec/cep/g if 'errors expected';
        I bet you have a 64-bit version of Perl. There's no mingw package for it, but you can install it yourself. See Re: Missing nmake - 64bit, Windows 7. (I'd try it without (d) first.) Or you could simply install a 32-bit version of Perl.
Re: set up mingw-dmake environment
by Corion (Patriarch) on Mar 22, 2011 at 14:19 UTC

    So far I'm unaware that Expect works on Windows at all. Also, IO::Pty is unlikely to work on Windows, as Windows has a different concept of "consoles" than Unixish OSes have.

      good to know ;-)

      is there any other way to do the same as expect does on a windows platform?

      $perlig =~ s/pec/cep/g if 'errors expected';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://894814]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found