Author |
Message
|
jeevan |
Posted: Sun Jan 10, 2010 10:56 am Post subject: Where can I find Perl module for WMQ ->MQSeries |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Where can I find the perl module that I need to compile and run perl script for mq serires? Are there perl api for pcf command too? I need some admin application and thinking it would be easier or at least standard to write these in perl as we use perl a lot for admin script. But I could not compile perl example as I get MQseries module is missing.
Last edited by jeevan on Sun Jan 10, 2010 11:20 am; edited 1 time in total |
|
Back to top |
|
 |
jeevan |
Posted: Sun Jan 10, 2010 11:19 am Post subject: Re: where can I find Perl module for mq ->MQSeries: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
jeevan wrote: |
Where can I find the perl module that I need to compile and run perl script for mq serires? Are there perl api for pcf command too? I need some admin application and thinking it would be easier or at least standard to write these in perl as we use perl a lot for admin script. But I could not compile perl example as I get MQseries module is missing. |
seems the steps in the will work.
http://www.ehow.com/how_5303803_install-perl-module-cpan-prompt.html |
|
Back to top |
|
 |
jeevan |
Posted: Sun Jan 10, 2010 12:23 pm Post subject: Re: where can I find Perl module for mq ->MQSeries: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
jeevan wrote: |
jeevan wrote: |
Where can I find the perl module that I need to compile and run perl script for mq serires? Are there perl api for pcf command too? I need some admin application and thinking it would be easier or at least standard to write these in perl as we use perl a lot for admin script. But I could not compile perl example as I get MQseries module is missing. |
seems the steps in the will work.
http://www.ehow.com/how_5303803_install-perl-module-cpan-prompt.html |
I thought the steps given in the url will installl mqsereis module but did not. Can anyone suggest me what should i do? |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Jan 11, 2010 12:09 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
What do you mean, the perl-mq module or the mq client? it's not clear from
your problem description or error codes you are getting...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jan 11, 2010 3:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Many Perl modules, including the MQSeries module, use XS to call C libraries, that need to be compiled and built on your local machine as part of the install.
What platform are you trying to install on? |
|
Back to top |
|
 |
gunter |
Posted: Mon Jan 11, 2010 4:28 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
|
Back to top |
|
 |
jeevan |
Posted: Mon Jan 11, 2010 8:34 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Michael Dag wrote: |
What do you mean, the perl-mq module or the mq client? it's not clear from
your problem description or error codes you are getting...  |
I mean MQseries.pm. I followed the doc ( given in the url in my previous post) and installed mq related modules. when I run the test perl ( taken from capitalware's site, it complaint again.
I realised that the module were installed but not the directory the perl was looking for these modules. So, I copied the module under c:/perl/lib and c:/perl/cpan/site/lib and run the perl program. This time, got the follwoing error messages:
Can't locate MQSeries.pm in @INC (@INC contains: C:/P
at test.pl line 16.
BEGIN failed--compilation aborted at test.pl line 16.
I am not sure what to do now.
The questions I have are:
Where does the perl look for the module ? standard place.
What does the above error message mean?
I am using follwong MQ module:
Quote: |
use MQSeries;
use MQSeries::Queue;
use MQSeries::Message; |
|
|
Back to top |
|
 |
|