|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Installing MQSeries Perl Modules on Windows |
« View previous topic :: View next topic » |
Author |
Message
|
mqjeff |
Posted: Thu Jun 16, 2011 3:49 am Post subject: Installing MQSeries Perl Modules on Windows |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This post is only relevant to current releases of the MQSeries perl modules and to preceeding versions.
And it probably only really applies to ActiveState Perl and not to things like perl inside cygwin or mingw or etc. But since ActiveState perl is the closest thing to "perl for windows", rather than "Perl that runs inside a unix shell emulation that runs in windows", it's probably what you actually want to use if you want to use Perl on Windows.
I thought I'd write out a bit here what needs to be done as of Thursday, June 16, 2011.
You need to have a C compiler installed on at least one Windows machine. This should really be the Microsoft Visual C/C++ compiler. There is a *free* version of this, Visual C++ Express.
Once you have installed this compiiler, and installed ActiveState Perl, then you can follow these steps.
- Start a Visual C++ Express command shell
- type 'cpan' to launch the Perl cpan shell.
- configure CPAN as needed for your location, including any cpan repositories or other such
- type 'get MQSeries' to download the MQSeries perl module and unpack it into a local directory.
- type 'look MQSeries'. This will open a *new* command shell that is cd'd into the downloaded and unpacked module directory
- type 'perl Makefile.pl'
- type 'nmake'. This will generate warnings and errors about test cases that don't pass. This is "okay"
- Type 'nmake install'. This will force the install of the module despite the fact that tests did not pass
- type 'exit' three times to close all your shells
You can then proceed with your normal perl development as you like.
There are probably other ways to successfully install this, TIMTOWTDI as always, including things like cpan plus and etc.
But this actually does work, which is usually the most important thing.
Oh, and, the main reason the tests fail on Windows is because the team developing and maintaining this module doesn't use Windows (a nice place to be). They are otherwise excellent people and responsive and helpful where they can be. |
|
Back to top |
|
 |
zpat |
Posted: Thu Jun 16, 2011 4:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you can't make the "get MQSeries" work due to proxy problems try a couple of things
1. Set CPAN options eg "o conf http_proxy <your proxy addr> "
(there are other relevant options, enter "o conf" to see them listed.
or
2. Give up and manually download the MQSeries module tar file, unpack it and then open a C++ shell window, navigate to the directory you created and then follow step 6 as above.
ActivePerl is here: http://www.activestate.com/activeperl |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|