Skip Menu |

This queue is for tickets about the MQSeries CPAN distribution.

Report information
The Basics
Id: 47126
Status: resolved
Worked: 16 min
Priority: 0/
Queue: MQSeries

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

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



CC: "Peter Szaro" <SzaroP [...] wyeth.com>
Subject: Failure Compiling CPAN for MQ
Date: Thu, 18 Jun 2009 16:10:13 -0400
To: <bug-MQSeries [...] rt.cpan.org>
From: "Edward A. Cooke" <COOKEE2 [...] wyeth.com>
Hello, We had a problem previously where it was thought that the Perl source may not exist. Our Unix admin download a new verion from HP which is supposed to include the source and we tried again and still failed. We are on HP-UX 11.31 Itanium in a virtuailized environment - Superdome vPars. Would a virt env make any difference? Here's the server and Perl info: $ uname -a HP-UX prh3500 B.11.31 U ia64 3671206015 unlimited-user license $ $ perl -v This is perl, v5.8.9 built for IA64.ARCHREV_0-thread-multi (with 9 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 823 [285747] Beta provided by ActiveState http://www.ActiveState.co m Built May 29 2008 19:20:58 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ dspmqver Name: WebSphere MQ Version: 7.0.0.1 CMVC level: p700-001-090115 BuildType: IKAP - (Production) The CPAN is MQSeries-1.29. The error we get during compile is: (below in red) prh3500:/var/mqm/MQSeries-1.29# /opt/perl/bin/perl Makefile.PL Set up gcc environment - 4.4.0 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 Unrecognized architecture [IA64.ARCHREV_0-thread-multi] and compiler [gcc]. Not setting rpath. Writing Makefile for MQClient::MQSeries Writing Makefile for MQSeries::Message::DeadLetter Writing Makefile for MQSeries::Message::PCF Warning: Guessing NAME [MQSeries-OAM] from current directory name. No libmqm server library found, MQServer disabled Support for MQServer is disabled on this platform. Warning: Guessing NAME [MQServer] from current directory name. Writing Makefile for MQSeries prh3500:/var/mqm/MQSeries-1.29# make cp MQSeries/Constants/ReasonMacro.pl blib/lib/MQSeries/Constants/ReasonMacro.pl cp MQSeries/Command/PCF/RequestValues.pl blib/lib/MQSeries/Command/PCF/RequestValues.pl cp MQSeries/ErrorLog/Parser.pm blib/lib/MQSeries/ErrorLog/Parser.pm cp MQSeries/Queue.pm blib/lib/MQSeries/Queue.pm cp MQSeries/Command/PCF/Requests.pl blib/lib/MQSeries/Command/PCF/Requests.pl cp MQSeries/Constants/AttributeString.pl blib/lib/MQSeries/Constants/AttributeString.pl cp MQSeries/Constants/AttributeLength.pl blib/lib/MQSeries/Constants/AttributeLength.pl cp MQSeries/Command/MQSC/SpecialParameters.pl blib/lib/MQSeries/Command/MQSC/SpecialParameters.pl cp MQSeries/Constants/ValidPutMsgRecFields.pl blib/lib/MQSeries/Constants/ValidPutMsgRecFields.pl cp MQSeries/Command/PCF/RequestParameterRequired.pl blib/lib/MQSeries/Command/PCF/RequestParameterRequired.pl cp MQSeries/FDC/Parser.pm blib/lib/MQSeries/FDC/Parser.pm cp MQSeries/Utils.pm blib/lib/MQSeries/Utils.pm cp MQSeries/Command/Request.pm blib/lib/MQSeries/Command/Request.pm cp MQSeries/Command/PCF/Responses.pl blib/lib/MQSeries/Command/PCF/Responses.pl cp MQSeries/Message/Event.pl blib/lib/MQSeries/Message/Event.pl cp MQSeries/Command/MQSC.pm blib/lib/MQSeries/Command/MQSC.pm cp MQSeries/Command/PCF.pm blib/lib/MQSeries/Command/PCF.pm cp MQSeries/Message/Event.pm blib/lib/MQSeries/Message/Event.pm cp MQSeries/Message/ConfigEvent.pm blib/lib/MQSeries/Message/ConfigEvent.pm cp MQSeries/Command.pm blib/lib/MQSeries/Command.pm cp MQSeries/Message/RFH2.pm blib/lib/MQSeries/Message/RFH2.pm cp MQSeries/Message/Storable.pm blib/lib/MQSeries/Message/Storable.pm cp MQSeries/ErrorLog/descriptions.pl blib/lib/MQSeries/ErrorLog/descriptions.pl cp MQSeries/Command/MQSC/RequestValues.pl blib/lib/MQSeries/Command/MQSC/RequestValues.pl cp MQSeries/Message/ConfigEvent.pl blib/lib/MQSeries/Message/ConfigEvent.pl cp MQSeries/Command/Response.pm blib/lib/MQSeries/Command/Response.pm cp MQSeries/Message/Trigger.pm blib/lib/MQSeries/Message/Trigger.pm cp MQSeries/FDC/Entry.pm blib/lib/MQSeries/FDC/Entry.pm cp MQSeries/ErrorLog/Tail.pm blib/lib/MQSeries/ErrorLog/Tail.pm cp MQSeries/Config/Machine.pm blib/lib/MQSeries/Config/Machine.pm cp MQSeries/Command/PCF/RequestParameterOrder.pl blib/lib/MQSeries/Command/PCF/RequestParameterOrder.pl cp MQSeries/Config/QMgr.pm blib/lib/MQSeries/Config/QMgr.pm cp MQSeries/FDC/Tail.pm blib/lib/MQSeries/FDC/Tail.pm cp MQSeries/Command/MQSC/RequestParameterPrimary.pl blib/lib/MQSeries/Command/MQSC/RequestParameterPrimary.pl cp MQSeries/Command/Base.pm blib/lib/MQSeries/Command/Base.pm cp MQSeries/Constants/ReasonText.pl blib/lib/MQSeries/Constants/ReasonText.pl cp MQSeries/QueueManager.pm blib/lib/MQSeries/QueueManager.pm cp MQSeries/Command/MQSC/RequestArgs.pl blib/lib/MQSeries/Command/MQSC/RequestArgs.pl cp MQSeries/Config/Authority.pm blib/lib/MQSeries/Config/Authority.pm cp MQSeries/ErrorLog/Entry.pm blib/lib/MQSeries/ErrorLog/Entry.pm cp MQSeries/Command/MQSC/Responses.pl blib/lib/MQSeries/Command/MQSC/Responses.pl cp MQSeries/Command/MQSC/RequestParameters.pl blib/lib/MQSeries/Command/MQSC/RequestParameters.pl cp MQSeries/Config/ChannelTable.pm blib/lib/MQSeries/Config/ChannelTable.pm cp MQSeries/Command/MQSC/ResponseValues.pl blib/lib/MQSeries/Command/MQSC/ResponseValues.pl cp MQSeries/Command/MQSC/ResponseParameters.pl blib/lib/MQSeries/Command/MQSC/ResponseParameters.pl cp MQSeries/Message.pm blib/lib/MQSeries/Message.pm cp MQSeries/Message/IIH.pm blib/lib/MQSeries/Message/IIH.pm cp MQSeries/Command/PCF/ResponseValues.pl blib/lib/MQSeries/Command/PCF/ResponseValues.pl cp MQSeries/Command/MQSC/RequestParameterRemap.pl blib/lib/MQSeries/Command/MQSC/RequestParameterRemap.pl cp MQSeries/Constants.pl blib/lib/MQSeries/Constants.pl cp MQSeries/Command/MQSC/Requests.pl blib/lib/MQSeries/Command/MQSC/Requests.pl cp MQSeries/Command/PCF/RequestParameters.pl blib/lib/MQSeries/Command/PCF/RequestParameters.pl cp MQSeries/Command/PCF/ResponseParameters.pl blib/lib/MQSeries/Command/PCF/ResponseParameters.pl cp MQSeries/Constants/StringAttribute.pl blib/lib/MQSeries/Constants/StringAttribute.pl cp MQSeries.pm blib/lib/MQSeries.pm cp MQSeries.pm ../blib/lib/MQClient/MQSeries.pm AutoSplitting ../blib/lib/MQClient/MQSeries.pm (../blib/lib/auto/MQClient/MQSeries) /opt/perl/bin/perl "-I../blib/arch" "-I../blib/lib" typemap.PL typemap typemap.PL: warning: type MQGMO.MsgHandle (MQHMSG) not supported typemap.PL: warning: type MQIMPO.ReturnedName (MQCHARV) not supported typemap.PL: warning: type MQOD.ObjectString (MQCHARV) not supported typemap.PL: warning: type MQOD.SelectionString (MQCHARV) not supported typemap.PL: warning: type MQOD.ResObjectString (MQCHARV) not supported typemap.PL: warning: type MQPMO.OriginalMsgHandle (MQHMSG) not supported typemap.PL: warning: type MQPMO.NewMsgHandle (MQHMSG) not supported typemap.PL: warning: type MQSD.ObjectString (MQCHARV) not supported typemap.PL: warning: type MQSD.SubName (MQCHARV) not supported typemap.PL: warning: type MQSD.SubUserData (MQCHARV) not supported typemap.PL: warning: type MQSD.SelectionString (MQCHARV) not supported typemap.PL: warning: type MQSD.ResObjectString (MQCHARV) not supported typemap.PL: warning: type MQCFIN64.Value (MQINT64) not supported typemap.PL: warning: type MQEPH.PCFHeader (MQCFH) not supported typemap.PL: warning: type MQAXP.ExitMsgHandle (MQHMSG) not supported typemap.PL: warning: type MQXEPO.ExitProperties (MQCHARV) not supported typemap.PL: warning: type MQWDR.DestSeqFactor (MQINT64) not supported typemap.PL: warning: type MQWDR2.DestSeqFactor (MQINT64) not supported /opt/perl/bin/perl /opt/perl_32/lib/5.8.9/ExtUtils/xsubpp -typemap /opt/perl_32/lib/5.8.9/ExtUtils/type map -typemap typemap MQSeries.xs > MQSeries.xsc && mv MQSeries.xsc MQSeries.c gcc -c -I"/opt/mqm/inc" -I../include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE +DSitanium2 -fPIC -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -DVERSION=\"1.29\" -DXS_VERSION=\"1.29\" -fPIC "-I/opt/perl_32/lib/5.8.9/IA64.ARCHREV_0-thread-multi/CORE" MQSeries.c gcc: +DSitanium2: No such file or directory *** Error exit code 1 Stop. *** Error exit code 1 Stop. My admin also found this depot "perl 5.8.9 + defined-or + DBI 1.607 + Tk 804.028_501 built with gcc-4.2.4" on http://www.cmve.net/merijn/downloads.html. Is it possible that we would need this? Thanks, Ed Edward A. Cooke Wyeth Pharmaceuticals GVA-2105 Data & Application Technology Services Application Integration & BI Technology cookee2@wyeth.com (484) 563 - 2086 [Voice] (484) 563 - 7139 [Fax]

Message body is not shown because it is too large.

This is the same problem you've faced before. It is not related to the release of perl you have installed, to the release of the MQSeries module, or whether you have source code for perl available. It is directly related to the fact you've downloaded a pre-compiled perl, and not built it on-site. When perl is compiled, it remembers the specific compiler and options it was built with. It uses the same compiler and options to build extension modules. In your case, perl was built (by ActiveState) with the GNU C compiler, gcc, and the compile-time option "+DSitanium2". The version of gcc installed at your site does not recognize this option, and generates an error. You will not be able to install any perl extension module that requires compilation of C code. Your options are to either install a version of gcc that supports the options used to build perl, or to configure and build perl locally with your local C compiler. You cannot use the current combination of ActiveState-compiled perl and non-plug-comptaible gcc to build and install perl extension modules.
CC: "Peter Szaro" <SzaroP [...] wyeth.com>
Subject: Re: [rt.cpan.org #47126] Failure Compiling CPAN for MQ
Date: Fri, 19 Jun 2009 06:38:28 -0400
To: <bug-MQSeries [...] rt.cpan.org>
From: "Edward A. Cooke" <COOKEE2 [...] wyeth.com>
Hi Hildo, Thanks for the information. I missed the point before about this being a pre-compiled version of Perl. Ed Edward A. Cooke Wyeth Pharmaceuticals GVA-2105 Data & Application Technology Services Application Integration & BI Technology cookee2@wyeth.com (484) 563 - 2086 [Voice] (484) 563 - 7139 [Fax] Show quoted text
>>> "Hildo Biersma via RT" <bug-MQSeries@rt.cpan.org> 6/18/2009 10:11 PM >>>
<URL: https://rt.cpan.org/Ticket/Display.html?id=47126 > This is the same problem you've faced before. It is not related to the release of perl you have installed, to the release of the MQSeries module, or whether you have source code for perl available. It is directly related to the fact you've downloaded a pre-compiled perl, and not built it on-site. When perl is compiled, it remembers the specific compiler and options it was built with. It uses the same compiler and options to build extension modules. In your case, perl was built (by ActiveState) with the GNU C compiler, gcc, and the compile-time option "+DSitanium2". The version of gcc installed at your site does not recognize this option, and generates an error. You will not be able to install any perl extension module that requires compilation of C code. Your options are to either install a version of gcc that supports the options used to build perl, or to configure and build perl locally with your local C compiler. You cannot use the current combination of ActiveState-compiled perl and non-plug-comptaible gcc to build and install perl extension modules.
Best of luck sorting out the perl build issues. I'm closing the ticket, as this is not an MQSeries module problem.
Subject: Re: [rt.cpan.org #47126] Failure Compiling CPAN for MQ
Date: Mon, 06 Jul 2009 14:52:19 -0400
To: <bug-MQSeries [...] rt.cpan.org>
From: "Edward A. Cooke" <COOKEE2 [...] wyeth.com>
Hi Hildo, Just wanted to let you know that once we got the HP C compiler everything installed as it should and the tests were successful - q to file and file to q. This was on HP-UX 11.31 Superdome vPar using MQ 7, Perl 5.8.9 and the MQSeries 1.29 CPAN. GCC does not support this Itanium option (+DSitanium2) in their compiler. Thanks, Ed Edward A. Cooke Wyeth Pharmaceuticals GVA-2105 Data & Application Technology Services Application Integration & BI Technology cookee2@wyeth.com (484) 563 - 2086 [Voice] (484) 563 - 7139 [Fax] Show quoted text
>>> "Hildo Biersma via RT" <bug-MQSeries@rt.cpan.org> 6/18/2009 10:11 PM >>>
<URL: https://rt.cpan.org/Ticket/Display.html?id=47126 > This is the same problem you've faced before. It is not related to the release of perl you have installed, to the release of the MQSeries module, or whether you have source code for perl available. It is directly related to the fact you've downloaded a pre-compiled perl, and not built it on-site. When perl is compiled, it remembers the specific compiler and options it was built with. It uses the same compiler and options to build extension modules. In your case, perl was built (by ActiveState) with the GNU C compiler, gcc, and the compile-time option "+DSitanium2". The version of gcc installed at your site does not recognize this option, and generates an error. You will not be able to install any perl extension module that requires compilation of C code. Your options are to either install a version of gcc that supports the options used to build perl, or to configure and build perl locally with your local C compiler. You cannot use the current combination of ActiveState-compiled perl and non-plug-comptaible gcc to build and install perl extension modules.
Thanks for the update - closing the RT ticket. Good luck with the MQSeries module and let me know if you run into any problems.
CC: "Peter Szaro" <SzaroP [...] wyeth.com>
Subject: Re: [rt.cpan.org #47126] Failure Compiling CPAN for MQ
Date: Tue, 07 Jul 2009 13:12:03 -0400
To: <bug-MQSeries [...] rt.cpan.org>
From: "Edward A. Cooke" <COOKEE2 [...] wyeth.com>
Hi Hildo, Sorry to bother you, but maybe you've encountered this. We did the compile Perl with the MQSeries CPAN on one Unix server and then we want to copy just the binaries to other box to run it. We will never use the C compiler for anything else and hate to have to purchase multiple copies. Is that possible? Thanks, Ed Edward A. Cooke Wyeth Pharmaceuticals GVA-2105 Data & Application Technology Services Application Integration & BI Technology cookee2@wyeth.com (484) 563 - 2086 [Voice] (484) 563 - 7139 [Fax] Show quoted text
>>> "Hildo Biersma via RT" <bug-MQSeries@rt.cpan.org> 7/6/2009 3:57:14 PM >>>
<URL: https://rt.cpan.org/Ticket/Display.html?id=47126 > Thanks for the update - closing the RT ticket. Good luck with the MQSeries module and let me know if you run into any problems.
(Replied by direct email)