|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
cmqc.h: A file or directory in the path name does not exist. |
« View previous topic :: View next topic » |
Author |
Message
|
csmith28 |
Posted: Mon Sep 22, 2008 4:10 pm Post subject: cmqc.h: A file or directory in the path name does not exist. |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
OK, I have a developer who is trying to compile a Perl Shell Wrapper http://search.cpan.org/~hbiersma/MQSeries-1.28-b/README to connect as a Client from an AIX server to an MQManager on a remote z/OS mainframe.
Operating System: AIX 5.3
Perl:
perl.libext 2.1.0.10 COMMITTED Perl Library Extensions
perl.rte 5.8.2.62 APPLIED Perl Version 5 Runtime
WMQ Client:
mqm.base.runtime 6.0.2.0 COMMITTED WebSphere MQ Runtime for
mqm.base.samples 6.0.2.0 COMMITTED WebSphere MQ Samples
mqm.client.rte 6.0.2.0 COMMITTED WebSphere MQ Client for AIX
mqm.java.rte 6.0.2.0 COMMITTED WebSphere MQ Java Client, JMS
mqm.msg.en_US 6.0.2.0 COMMITTED WebSphere MQ Messages - U.S.
mqm.txclient.rte 6.0.2.0 COMMITTED WebSphere MQ Extended
mqm.base.runtime 6.0.2.0 COMMITTED WebSphere MQ Runtime
He is getting the following error:
Code: |
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
ERROR from evaluation of /home/apps/etl/corwin/perl-make/MQSeries-1.28/MQClient/Makefile.PL: Unable to open /usr/lpp/mqm/inc/cmqc.h: A file or directory in the path name does not exist.
Compilation failed in require at ./Makefile.PL line 14.
# Looks like your test died before it could output anything. |
Indeed on this client server the cmqc.h file does not exist in /usr/lpp/mqm/inc nor does it anywhere else.
However, when I do a find on two of my AIX Servers that have WMQ6.0.2.0 Server installed I get these results:
Code: |
# find / -name cmqc.h 2> /dev/null
/usr/include/cmqc.h
/usr/mqm/inc/cmqc.h
# ls -la /usr/include/cmqc.h
lrwxrwxrwx 1 bin bin 19 Oct 08 2007 /usr/include/cmqc.h -> /usr/mqm/inc/cmqc.h
# ls -la /usr/mqm/inc/cmqc.h
-r--r--r-- 1 mqm mqm 141505 Sep 21 2006 /usr/mqm/inc/cmqc.h |
Then oddly enough there is another copy of cmqc.h in /usr/lpp/mqm/inc but for some reason the find command doesn't see it. I have no idea why probably doesn't matter.
Code: |
# ls -la /usr/lpp/mqm/inc/cmqc.h
-r--r--r-- 1 mqm mqm 141505 Sep 21 2006 /usr/lpp/mqm/inc/cmqc.h |
So anyway, do any of you have any suggestions on how I can help this guy get his connection set up?
Does he need to compile this wrapper on a Server upon which WMQSeries 6.0.2.0 is installed to get it to work?
If so will it continue to work if he copies it to a server upon which only the client filesets are installed?
Remember I am not a WMQ Application Programmer, I am just an Admin. I've poked around here, googled and searched IBM but nothing jumped out at me. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Philip Morten |
Posted: Tue Sep 23, 2008 12:37 am Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
The file /usr/mqm/inc/cmqc.h is part of the 'mqm.base.sdk' fileset which is supplied with both the client and server distributions.
/usr/lpp/mqm is a symbolic link to /usr/mqm/ and is provided for compatibility with earlier releases of MQSeries, it is recommended that applications are built using /usr/mqm directly. _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Sep 23, 2008 2:34 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Just edit the CONFIG file in the build directory, per the instructions in the README, to set the MQMTOP parameter to /usr/mqm.
And, as a side note, you would be fine to move the compiled modules from one AIX machine to another, as long as the first machine had the appropriate MQServer or MQClient software installed for what you need on the second machine. |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Sep 30, 2008 8:10 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Thanks guys. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|