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 » General Discussion » Using Perl with MQSeries on windows

Post new topic  Reply to topic
 Using Perl with MQSeries on windows « View previous topic :: View next topic » 
Author Message
sebastian
PostPosted: Mon Dec 15, 2003 11:38 am    Post subject: Using Perl with MQSeries on windows Reply with quote

Centurion

Joined: 12 Nov 2003
Posts: 110
Location: Philadelphia

Has anyone out there used Perl scripts with MQSeries on windows?

I am having some serious challenges with the MA89 install and could use any help possible.

I am not able to run the 'makefile' step of the installation. I get the error message "ERROR from evaluation of C:\MQSeries-1.21\MQClient/Makefile.PL: No such directory 'C:|Program Files\MQSeries Client/Tools'
Compilation failed in require at ./Makefile.PL line 14.

It looks to me like the command I issuesd, "perl Makefile.PL" runs another makefile.pl file that has a required directory that I do not have. I have followed all of the instructions. Help...


thanks,
Sebastian
_________________
sebastian signature
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Mon Dec 15, 2003 12:14 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

C:\MQSeries-1.21\MQClient/Makefile.PL
^
+--------------> How come this isnt a \ ????
I also noticed others in your description.

What version of perl are you using ????

Lets start by unzipping the module into a dir called c:\mqseries

perl Makefile.pl
----> what Line # is it failing, I looked at line 14 of my download of 1.21 and it is a comment line, I also opend it up in a editor with syntax highlighting and it is a comment.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Mon Dec 15, 2003 12:21 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

mrlinux wrote:
C:\MQSeries-1.21\MQClient/Makefile.PL
How come this is / isnt \ ????


I also noticed others in your description.

What version of perl are you using ????

Lets start by unzipping the module into a dir called c:\mqseries

perl Makefile.pl
----> what Line # is it failing, I looked at line 14 of my download of 1.21 and it is a comment line, I also opend it up in a editor with syntax highlighting and it is a comment.

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Mon Dec 15, 2003 12:42 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Download the MQSeries Perl module from this link

http://search.cpan.org/CPAN/authors/id/H/HB/HBIERSMA/MQSeries-1.21.tar.gz
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sebastian
PostPosted: Tue Jan 13, 2004 5:39 am    Post subject: Issue resolved Reply with quote

Centurion

Joined: 12 Nov 2003
Posts: 110
Location: Philadelphia

I had Visual Studio installed on my workstation (which included the cl.exe) and went through the install procedure again and things look much better.

I ran my simple Perl script which just does an MQCONN and returns a message for success or failure. It works fine when I access the MQ environment on my workstation but I get the message "2058 - qmgr name error" when I try to access a remote MQ server. I double checked that the qmgr is spelled correctly, a server connection channel is set on the remote MQ server and I set the MQSERVER set variable correctly. I even did an amqsputc to the test queue and it works fine so I'm not sure why this is happening yet. I'll search for a similar issue listed and if I can't find one perhaps I'll create a new posting.

In any case, the original issue that was the reason for sending this email has been resolved. I really appreciate all of the help everyone has provided and I hope that I can pay back the favor as I grow from my 'newbie' status.

Thank you very much,
Sebastian
_________________
sebastian signature
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Using Perl with MQSeries 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.