Author |
Message
|
jeevan |
Posted: Thu Nov 25, 2010 7:26 pm Post subject: Need some help in installing Perl MQSeries Modules |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Guys,
I have been struggling for some time to get the Perl MQSeries package installed on laptop running Windows XP sp3. It seems that the isntallation completes but the test fails. But when I run the script, it says the it can not find out the module.
I run the installatin as follws:
c:\>cpan
cpan>install MQSeries
.........
.................
................
...................
Copying MQClient/MQSeries.xs.in/42MQSET -> MQServer/MQSeries.xs.in/42MQSET
Copying MQClient/Makefile.PL -> MQServer/Makefile.PL
Copying MQClient/constants.c.PL -> MQServer/constants.c.PL
Copying MQClient/typemap.PL -> MQServer/typemap.PL
Checking if your kit is complete...
Looks good
ERROR from evaluation of C:\Perl\cpan\build\MQSeries-1.29-Gf0kuk\MQClient/Makefi
le.PL: Unable to opendir /opt/mqm/inc: No such file or directory
Compilation failed in require at ./Makefile.PL line 15.
Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site
]
HBIERSMA/MQSeries-1.29.tar.gz
C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
HBIERSMA/MQSeries-1.29.tar.gz : writemakefile NO 'C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512
It seems it is lookign for ./opt/mqm directory. I am not sure why it is looking that. I could change that but I am not clear why it is looking that directory.
Has any one encountered with this problem ? Any suggestion to get it resolved?
Thanks
Last edited by jeevan on Fri Nov 26, 2010 6:06 am; edited 3 times in total |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 25, 2010 8:41 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Do you have an MQ client installed on that machine?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Nov 25, 2010 9:20 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You have to edit ... I think it's CONFIG before using the makefile. Also make sure you're running from a Visual C command shell, as the module obviously has to compile some xs links against the mq libs.
Last edited by mqjeff on Fri Nov 26, 2010 5:43 am; edited 1 time in total |
|
Back to top |
|
 |
jeevan |
Posted: Fri Nov 26, 2010 5:40 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
fjb_saper wrote: |
Do you have an MQ client installed on that machine?  |
Yes, it is my working laptop and has complete MQ installed. I rechecked again, a complete MQ is installed.
Anaything else? |
|
Back to top |
|
 |
jeevan |
Posted: Fri Nov 26, 2010 6:04 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
mqjeff wrote: |
You have to edit ... I think it's CONFIG before using the makefile. Also make sure you're running from a Visual C command shell, as the module obviously has to compile some xs links against the mq libs. |
I think I need to do sometHing but not sure what and what changes does it require as I have not much done in perl with MQ.
As I mentioend above, I am installing from cpan prompt as follows:
c:\>cpan
cpan>
From your post, I need to get into cshell. is this the one you mena:
c:\>perl -MCPAN -eshell
Whether I isntall from the shell running cpan or perl -MCPAN -eshell, the result is the same failure.
Also, realsied that the instalation uses different makefile. Are they different or similar? does a make file be different for each module?
Is this the config file you are talking?
C:\Perl\bin\config.pl
Any further insight? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Nov 26, 2010 7:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Right.
This particular perl module will only install directly from CPAN on Unix systems, and even then on certain specific Unix systems.
If you read the README, you will see that "before building the module, you need to edit the CONFIG file".
Use CPAN, download and unpack the module, but don't build it. Review the README more directly and the README.windows.
I've generally found the team that supports this to be responsive. |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 22, 2011 3:24 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I find the CPAN approach of "build it yourself" rather assumes that everyone is familar with C and has a compiler etc.
I just want to install and use a Perl interface for MQ, initially on Windows XP. I don't want to compile or make anything (in much the same way as I expect a new car not to be a pile of components in a crate).
Is there somewhere I can download Perl for MQ it ready to use? The actual Perl install using ActivePerl was a simple enough GUI windows executable (as it should be). |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 22, 2011 4:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There used to be someone that maintained a PPM package.
A quick email to the MQSeries module support address should get some help. |
|
Back to top |
|
 |
|