Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

set up mingw-dmake environment

by AlexTape (Monk)
on Mar 22, 2011 at 14:15 UTC ( #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.

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 (Bishop) 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 (Pope) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://894814]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-03-28 22:34 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (342 votes). Check out past polls.