ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Installing MQSeries Perl Modules on Windows

Post new topic  Reply to topic
 Installing MQSeries Perl Modules on Windows « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Thu Jun 16, 2011 3:49 am    Post subject: Installing MQSeries Perl Modules on Windows Reply with quote

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.

  1. Start a Visual C++ Express command shell
  2. type 'cpan' to launch the Perl cpan shell.
  3. configure CPAN as needed for your location, including any cpan repositories or other such
  4. type 'get MQSeries' to download the MQSeries perl module and unpack it into a local directory.
  5. type 'look MQSeries'. This will open a *new* command shell that is cd'd into the downloaded and unpacked module directory
  6. type 'perl Makefile.pl'
  7. type 'nmake'. This will generate warnings and errors about test cases that don't pass. This is "okay"
  8. Type 'nmake install'. This will force the install of the module despite the fact that tests did not pass
  9. 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
View user's profile Send private message
zpat
PostPosted: Thu Jun 16, 2011 4:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Installing MQSeries Perl Modules on Windows
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.