http://www.perlmonks.org?node_id=1011574


in reply to Unable to install win32-API-0.41 module on perl 5.6.1.635

Installation procedure: ----------------------- 1. Unpack Win32-API-0.41.tar.gz to a installation directory 2. Open a Windows command window (run c:\WINNT\System32\cmd.exe) 3. cd to the installation directory 4. run "perl Makefile.PL" 5. Setup nmake environment variables by running "C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat" 6. Run "nmake" 7. Open a cygwin windows a) cd to the installation directory b) Run "tar cvf Win32-API-041.tar blib" "gzip --best win32-API-041.tar" c) If cygwin is not installed use 7zip, it is a two-step process "First use 7zip to create the .tar" "Then, using the WinXP context menu entry, add the .tar to a new 7zip archive. Choose the Gzip archive format" 8. Go back to Windows command window 11. Run "nmake ppd" in the installation directory 12. Edit Win32-API.ppd with following line <CODEBASE HREF="Win32-API-041.tar.gz" /> ****************************************** At this point, you have just completed to compile the package. You can repeat following on other computer with the compiled files. ****************************************** 13. To install Win32-API, Run "ppm install Win32-API.ppd" 14. Run "perl -MWin32::API -e 1" to verify the installation. 15. You might need to copy msvcr70.dll to c:\Perl\site\lib\auto\Win32\API\ 16. Installation completed.

Replies are listed 'Best First'.
Re^2: Unable to install win32-API-0.41 module on perl 5.6.1.635
by Anonymous Monk on Jan 04, 2013 at 07:33 UTC
    Where did you copy that from?
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: Unable to install win32-API-0.41 module on perl 5.6.1.635
by PerlRider (Initiate) on Jan 04, 2013 at 07:47 UTC

    Hi Rishi, Thanks for your valuable reply... I am able to install the module with your steps posted. :-)