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 » Where can I find Perl module for WMQ ->MQSeries

Post new topic  Reply to topic
 Where can I find Perl module for WMQ ->MQSeries « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Sun Jan 10, 2010 10:56 am    Post subject: Where can I find Perl module for WMQ ->MQSeries Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Sun Jan 10, 2010 11:19 am    Post subject: Re: where can I find Perl module for mq ->MQSeries: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Sun Jan 10, 2010 12:23 pm    Post subject: Re: where can I find Perl module for mq ->MQSeries: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Mon Jan 11, 2010 12:09 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
mqjeff
PostPosted: Mon Jan 11, 2010 3:25 am    Post subject: Reply with quote

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
View user's profile Send private message
gunter
PostPosted: Mon Jan 11, 2010 4:28 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Read this: http://search.cpan.org/~mqseries/MQSeries-1.30/README. It describes all you need to get it running.
There is also a note about using PCF.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Jan 11, 2010 8:34 am    Post subject: Reply with quote

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
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 » Where can I find Perl module for WMQ ->MQSeries
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.