Skip Menu |

This queue is for tickets about the MQSeries CPAN distribution.

Report information
The Basics
Id: 47147
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: MQSeries

People
Owner: Hildo.Biersma [...] gmail.com
Requestors: m2o7i1 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: MQSeries install problem with MQ Websphere 7.0
Date: Sat, 20 Jun 2009 09:25:47 +1930
To: bug-MQSeries [...] rt.cpan.org
From: Moises Castellanos <m2o7i1 [...] gmail.com>
Hello I recently downloaded the MQSeries v1.29 and still finding problems to compile module. Some information: $ uname -a Linux cero-one 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux $ perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Copyright 1987-2006, Larry Wall perl Makefile.PL Creating directory MQServer/ Copying MQClient/MQSeries.pm.in -> MQServer/MQSeries.pm.in Creating directory MQServer/MQSeries.xs.in/ Copying MQClient/MQSeries.xs.in/00header -> MQServer/MQSeries.xs.in/00header Copying MQClient/MQSeries.xs.in/21core -> MQServer/MQSeries.xs.in/21core Copying MQClient/MQSeries.xs.in/30MQCONN -> MQServer/MQSeries.xs.in/30MQCONN Copying MQClient/MQSeries.xs.in/31MQCONNX-v5 -> MQServer/ MQSeries.xs.in/31MQCONNX-v5 Copying MQClient/MQSeries.xs.in/32MQOPEN-v5 -> MQServer/ MQSeries.xs.in/32MQOPEN-v5 Copying MQClient/MQSeries.xs.in/33MQINQ -> MQServer/MQSeries.xs.in/33MQINQ Copying MQClient/MQSeries.xs.in/34MQPUT-v5 -> MQServer/ MQSeries.xs.in/34MQPUT-v5 Copying MQClient/MQSeries.xs.in/35MQPUT1-v5 -> MQServer/ MQSeries.xs.in/35MQPUT1-v5 Copying MQClient/MQSeries.xs.in/36MQGET -> MQServer/MQSeries.xs.in/36MQGET Copying MQClient/MQSeries.xs.in/37MQCLOSE -> MQServer/ MQSeries.xs.in/37MQCLOSE Copying MQClient/MQSeries.xs.in/38MQDISC -> MQServer/MQSeries.xs.in/38MQDISC Copying MQClient/MQSeries.xs.in/39MQCMIT -> MQServer/MQSeries.xs.in/39MQCMIT Copying MQClient/MQSeries.xs.in/40MQBACK -> MQServer/MQSeries.xs.in/40MQBACK Copying MQClient/MQSeries.xs.in/41MQBEGIN-v5 -> MQServer/ MQSeries.xs.in/41MQBEGIN-v5 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 /usr/src/MQSeries-1.29/MQClient/Makefile.PL: Cannot handle nested conditional in [/opt/mqm/inc/cmqpsc.h]: while in [MQPSC_INCLUDED], found [__cplusplus] at ../util/parse_headers line 90, <HEADER> line 34. Compilation failed in require at ./Makefile.PL line 15, <HEADER> line 34. Regards Moisés Castellanos
In order to diagnose this, I'll need a copy of the relevant header files. Can you create a tar/zip archive of the header files under /opt/mqm/inc and mail it to hildo.biersma@gmail.com ?
On Fri Jun 19 11:44:19 2009, HBIERSMA wrote: Show quoted text
> In order to diagnose this, I'll need a copy of the relevant header > files. Can you create a tar/zip archive of the header files under > /opt/mqm/inc and mail it to hildo.biersma@gmail.com ?
Thanks for the header files. It appears the formatting of the include guards in the cmqpsc.h header file changed, breaking the parse_headers script. Please change line 79 in the util/parse_headers script like this: old: if (m@^#if !defined.*\s+/\* File not yet included\?\s+\*/@ || new: if (m@^#if !defined.*\s+/\*\s+File not yet included\?\s+\*/@ || in other words, change the blank before 'File' to \s+ (match multiple blanks). Let me know if that works for you. I'd appreciate it you could let me know the exact version of the MQ software you've installed, as the headers don't match mine. I have both server and client installed, and there may be a subtle difference in the header files. For example, my /opt/mqm/inc/cmqxc.h file has constants like MQXF_XACLOSE that your header files lack.
Did you have time to test the patch?
Subject: Re: [rt.cpan.org #47147] MQSeries install problem with MQ Websphere 7.0
Date: Tue, 23 Jun 2009 18:29:58 +1930
To: bug-MQSeries [...] rt.cpan.org
From: Moises Castellanos <m2o7i1 [...] gmail.com>
Hi Hildo, On Tue, Jun 23, 2009 at 6:15 PM, Hildo Biersma via RT < bug-MQSeries@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=47147 > > > Did you have time to test the patch? >
The patch work great, thank you for your support and help Regards
Thanks for the response. Let me know if you run into other issues.