Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Could not able to install Win32::GuiTest

by dasgar (Priest)
on Jul 12, 2012 at 21:05 UTC ( #981493=note: print w/replies, xml ) Need Help??

in reply to Could not able to install Win32::GuiTest

I'm going to assume that you have 32-bit ActivePerl. (For 64-bit Perl, I think you need to get Visual Studio or some free download related to it to get the files you need. It's been a while since I looked into that, so things might have changed.)

To install Win32::GuiTest, you might need check other repositories or you might need to go directly to CPAN. Unfortunately, ActivePerl does not have a compiler or make utility installed by default. Here's what you should try.

  • Install MinGW and dmake from ActiveState's repository using PPM.
  • Now just open a command prompt to install from CPAN by typing: cpan install Win32::GuiTest
    • The first time running cpan, you'll probably be asked for some information to configure the cpan module.
    • If you're behind a web proxy server, you'll need to either configure the cpan module with the information or add environment variables to the OS, such as http_proxy.
    • You might also need to open the command prompt with "Run As administrator".

If I remember correctly, Win32::GuiTest should install from CPAN without issues in 32-bit ActivePerl.

Replies are listed 'Best First'.
Re^2: Could not able to install Win32::GuiTest
by bedohave9 (Acolyte) on Jul 12, 2012 at 21:30 UTC

    I am trying to install the MinGW on my machine, but it is asking me to change the environment variables as mentioned below. "Add C:\MinGW\bin; to the PATH environment variable by opening the System control panel, going to the Advanced tab, and clicking the Environment Variables button. If you currently have a Command Prompt window open, it will not recognize the change to the environment variables; you will need to open a new Command Prompt window to get the new PATH." Would this impact any of my existing environment and occupy more space on my machine?

      Are you using ActiveState's PPM utility? It sounds like you tried downloading MinGW from somewhere and are trying to install it manually. If you're doing that, you need to make sure that it is compatible with the compiler that ActiveState used to compile their ActivePerl that you are using. By installing MinGW using the PPM utility, you'll definitely get the correct version of MinGW.

      Would this impact any of my existing environment and occupy more space on my machine?

      Following those steps, any new command prompts opened after modifying and saving the path environment variable will use the new value. Any command prompts that were previously opened before the change will not pick up the changed value for the path environment variable.

      As for using more space, just simply changing an environment variables value shouldn't have any significant change to the space used. Installing an application will definitely use up disk space. The amount of disk space used will vary by application.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981493]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-05-25 13:03 GMT
Find Nodes?
    Voting Booth?