Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by PerlRider (Initiate)
on Jan 04, 2013 at 06:58 UTC ( #1011567=perlquestion: print w/ replies, xml ) Need Help??
PerlRider has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I am struggling to install win32-API-0.41 module on perl 5.6.1.635. Can someone provide me the steps to install. Adding detailed steps and prerequisites is highly appriciated. Newer versions of perl is having this inbuilt module but , as per the requirement I need to install this module plz plz plz suggest me. Thanks in advance

Comment on Unable to install win32-API-0.41 module on perl 5.6.1.635
Re: Unable to install win32-API-0.41 module on perl 5.6.1.635
by Anonymous Monk on Jan 04, 2013 at 07:30 UTC
Re: Unable to install win32-API-0.41 module on perl 5.6.1.635
by Rishi2Monk (Initiate) on Jan 04, 2013 at 07:31 UTC

    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.

      Where did you copy that from?

        I think, U need to learn how to browse Google first before post reply

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

Re: Unable to install win32-API-0.41 module on perl 5.6.1.635
by bulk88 (Priest) on Jan 05, 2013 at 20:54 UTC
    How much of Win32::API do you need working on 5.6? I have gotten Win32::API 0.74 but not the Win32::API::Callback sub module working 5.6.

      I need Win32::API::Prototype and Win32::API::Struct working on 5.6.1.635

        Win32::API::Prototype is not part of Win32::API. Win32::API::Struct is part of Win32::API. I should have a new CPAN release of Win32::API with Perl 5.6 support by the end of the week. pack's syntax in 5.6 is very different/older compared to 5.8/Modern Perl so many tests fail either because (), [], !, and J are not supported by 5.6 pack().
        Win32::API 0.75 now has some support for Perl 5.6.2.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (16)
As of 2014-12-18 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (61 votes), past polls