<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Perl: Installing MQSeries CPAN module on Windows XP</title>
	<atom:link href="http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/feed/" rel="self" type="application/rss+xml" />
	<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/</link>
	<description>Vinny&#039;s Technical Corner</description>
	<lastBuildDate>Wed, 30 Jun 2010 09:38:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Dave</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1124</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 10 Jun 2010 21:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1124</guid>
		<description>I am using Microsoft Visual C++ 2010 Express on Windows 2003 and got the following nmake fatal error:

MQSeries.xs(2556) : error C2146: syntax error : missing &#039;)&#039; before identifier &#039;P
RIdLEAST64&#039;
NMAKE : fatal error U1077: &#039;&quot;C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE&quot;&#039; : return code &#039;0x2&#039;
Stop.
NMAKE : fatal error U1077: &#039;C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe&#039; : return c
de &#039;0x2&#039;
Stop.

I ended up having to change the source, from:

sprintf(printed_number, &quot;%&quot; PRIdLEAST64, *(PMQINT64)buffer);

to:

sprintf(printed_number, &quot;%PRIdLEAST64&quot;, *(PMQINT64)buffer);


Otherwise everything worked without a hitch, thanks for the instructions!</description>
		<content:encoded><![CDATA[<p>I am using Microsoft Visual C++ 2010 Express on Windows 2003 and got the following nmake fatal error:</p>
<p>MQSeries.xs(2556) : error C2146: syntax error : missing &#8216;)&#8217; before identifier &#8216;P<br />
RIdLEAST64&#8242;<br />
NMAKE : fatal error U1077: &#8216;&#8221;C:\Program Files\Microsoft Visual Studio 10.0\VC\BI<br />
N\cl.EXE&#8221;&#8216; : return code &#8217;0&#215;2&#8242;<br />
Stop.<br />
NMAKE : fatal error U1077: &#8216;C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe&#8217; : return c<br />
de &#8217;0&#215;2&#8242;<br />
Stop.</p>
<p>I ended up having to change the source, from:</p>
<p>sprintf(printed_number, &#8220;%&#8221; PRIdLEAST64, *(PMQINT64)buffer);</p>
<p>to:</p>
<p>sprintf(printed_number, &#8220;%PRIdLEAST64&#8243;, *(PMQINT64)buffer);</p>
<p>Otherwise everything worked without a hitch, thanks for the instructions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinny</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1123</link>
		<dc:creator>Vinny</dc:creator>
		<pubDate>Fri, 04 Jun 2010 17:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1123</guid>
		<description>Hi Steffen,
I&#039;m glad you liked the article. The issue you described sounds to me like your Windows Path environment variable is missing the path to MQM.dll. Check out the &quot;Verify System Variables&quot; section of &lt;a href=&quot;http://support.microsoft.com/kb/319114&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;this article by Microsoft&lt;/a&gt; to see if you are indeed missing the path to MQM.dll from Path env var. It focuses on a different DLL, but the steps are the same.

Let me know how it goes.</description>
		<content:encoded><![CDATA[<p>Hi Steffen,<br />
I&#8217;m glad you liked the article. The issue you described sounds to me like your Windows Path environment variable is missing the path to MQM.dll. Check out the &#8220;Verify System Variables&#8221; section of <a href="http://support.microsoft.com/kb/319114" target="_blank" rel="nofollow">this article by Microsoft</a> to see if you are indeed missing the path to MQM.dll from Path env var. It focuses on a different DLL, but the steps are the same.</p>
<p>Let me know how it goes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steffen Johnson</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1122</link>
		<dc:creator>Steffen Johnson</dc:creator>
		<pubDate>Fri, 04 Jun 2010 17:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1122</guid>
		<description>Thanks for the excellent article. I&#039;m upgrading my MQ Client from V5.3 to v7.0.1 and was having problems getting my existing code to run under it so I tried to recompile MQSeries followed each of the steps above paying particular attention to step 2.

I&#039;m on an XP machince using AS perl v5.10.1 and am using MSC v6.0 to compile the code for MQSeries v1.29. There are no problems with the code compiling and I&#039;ve run some tests with the new version of MQ to make sure that piece is working. So now everything looks good except whem I try to run my script I keep getting an &quot;This application has failed to start because MQM.dll was not found.&quot; Any ideas?</description>
		<content:encoded><![CDATA[<p>Thanks for the excellent article. I&#8217;m upgrading my MQ Client from V5.3 to v7.0.1 and was having problems getting my existing code to run under it so I tried to recompile MQSeries followed each of the steps above paying particular attention to step 2.</p>
<p>I&#8217;m on an XP machince using AS perl v5.10.1 and am using MSC v6.0 to compile the code for MQSeries v1.29. There are no problems with the code compiling and I&#8217;ve run some tests with the new version of MQ to make sure that piece is working. So now everything looks good except whem I try to run my script I keep getting an &#8220;This application has failed to start because MQM.dll was not found.&#8221; Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Sabell</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1115</link>
		<dc:creator>Brett Sabell</dc:creator>
		<pubDate>Sat, 20 Mar 2010 00:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1115</guid>
		<description>Fantastic article. Complete and idiot-proof. Many thanks!

One other thing that might be worth noting is that if you sit behind an HTTP proxy, then you need the &#039;http_proxy&#039; environment variable set up to allow Perl to download modules from CPAN. I&#039;m new to Perl, and it took me a bit of Googling around to find out about this variable.

For anyone who needs to know, the format of http_proxy needs to be &#039;http://server:port&#039;. If your proxy requires authentication, you will be asked for the the username/password during the installation.</description>
		<content:encoded><![CDATA[<p>Fantastic article. Complete and idiot-proof. Many thanks!</p>
<p>One other thing that might be worth noting is that if you sit behind an HTTP proxy, then you need the &#8216;http_proxy&#8217; environment variable set up to allow Perl to download modules from CPAN. I&#8217;m new to Perl, and it took me a bit of Googling around to find out about this variable.</p>
<p>For anyone who needs to know, the format of http_proxy needs to be &#8216;http://server:port&#8217;. If your proxy requires authentication, you will be asked for the the username/password during the installation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinny</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1111</link>
		<dc:creator>Vinny</dc:creator>
		<pubDate>Wed, 03 Mar 2010 11:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1111</guid>
		<description>Herman,

I really don&#039;t know what may be the problem. I still think it&#039;s a problem related to the &quot;Unrecognized Architecture&quot; though. Please keep us posted if you figure something out.</description>
		<content:encoded><![CDATA[<p>Herman,</p>
<p>I really don&#8217;t know what may be the problem. I still think it&#8217;s a problem related to the &#8220;Unrecognized Architecture&#8221; though. Please keep us posted if you figure something out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herman Lip</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1109</link>
		<dc:creator>Herman Lip</dc:creator>
		<pubDate>Tue, 23 Feb 2010 02:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1109</guid>
		<description>I did ran vcvarsall.bat after I install VC and that is why I use Windows Command prompt. Now I try to use Visual Studio 2008  Command Prompt. Same problem.</description>
		<content:encoded><![CDATA[<p>I did ran vcvarsall.bat after I install VC and that is why I use Windows Command prompt. Now I try to use Visual Studio 2008  Command Prompt. Same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinny</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1108</link>
		<dc:creator>Vinny</dc:creator>
		<pubDate>Tue, 23 Feb 2010 01:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1108</guid>
		<description>#5 is your problem right there... Step 2 from the post should resolve the problem.

2) (Extremely important!!)Set up your build environment by running vcvarsall.bat. Mine is under C:\Program Files\Microsoft Visual Studio 9.0\VC
An alternative to this step is to open a Visual Studio 2008 Command Prompt (Start-&gt;All Programs-&gt;Microsoft C++ 2008 Express Edition-&gt;Visual Studio Tools-&gt;Visual Studio 2008 Command Prompt)</description>
		<content:encoded><![CDATA[<p>#5 is your problem right there&#8230; Step 2 from the post should resolve the problem.</p>
<p>2) (Extremely important!!)Set up your build environment by running vcvarsall.bat. Mine is under C:\Program Files\Microsoft Visual Studio 9.0\VC<br />
An alternative to this step is to open a Visual Studio 2008 Command Prompt (Start->All Programs->Microsoft C++ 2008 Express Edition->Visual Studio Tools->Visual Studio 2008 Command Prompt)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herman Lip</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1107</link>
		<dc:creator>Herman Lip</dc:creator>
		<pubDate>Tue, 23 Feb 2010 01:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1107</guid>
		<description>Thanks for the quick response
1) Perl 5.10.1 build 1007
2) Windows XP professional sp2
3) I am not trying from Cygwin. However, I have Cygwin installed on my mcahine.
4) I believe I install VC correctly and the environment variable is set up correctly.
5) I don&#039;t really understand your last question. I use to Windows command prompt to run perl Makefile.pl

One more thing, before I read your article, I use gcc instead of cl (I did install curl using gcc sucessfully). I have the same error with gcc.</description>
		<content:encoded><![CDATA[<p>Thanks for the quick response<br />
1) Perl 5.10.1 build 1007<br />
2) Windows XP professional sp2<br />
3) I am not trying from Cygwin. However, I have Cygwin installed on my mcahine.<br />
4) I believe I install VC correctly and the environment variable is set up correctly.<br />
5) I don&#8217;t really understand your last question. I use to Windows command prompt to run perl Makefile.pl</p>
<p>One more thing, before I read your article, I use gcc instead of cl (I did install curl using gcc sucessfully). I have the same error with gcc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinny</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1106</link>
		<dc:creator>Vinny</dc:creator>
		<pubDate>Mon, 22 Feb 2010 23:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1106</guid>
		<description>Hi Herman, I’d put my chips on the error you ignored. Some questions:

Which Perl are you using?
Which Windows?
Are you trying from Cygwin?
Did you get the VC installed correctly?
Did you use the command prompt through the link that is installed by Visual Studio to run perl Makefile.pl ?</description>
		<content:encoded><![CDATA[<p>Hi Herman, I’d put my chips on the error you ignored. Some questions:</p>
<p>Which Perl are you using?<br />
Which Windows?<br />
Are you trying from Cygwin?<br />
Did you get the VC installed correctly?<br />
Did you use the command prompt through the link that is installed by Visual Studio to run perl Makefile.pl ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herman Lip</title>
		<link>http://usestrict.net/2009/01/16/perl-installing-mqseries-module-on-windows-xp/comment-page-1/#comment-1104</link>
		<dc:creator>Herman Lip</dc:creator>
		<pubDate>Mon, 22 Feb 2010 21:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://usestrict.net/?p=212#comment-1104</guid>
		<description>I follow your instructions and fail.
Error when doing perl makefile.pl
Unrecognized architecture [MSWin32-x86-multi-thread] and compiler [cl]. Not setting rpath.


I ignored this error/warning and do nmake and get a lot warnings and follows with these errors
MQSeries.xs(2543) : error C2146: syntax error : missing &#039;)&#039; before identifier &#039;PRIdLEAST64&#039;
MQSeries.xs(2679) : error C2146: syntax error : missing &#039;)&#039; before identifier &#039;SCNdLEAST64&#039;
MQSeries.xs(2686) : error C2196: case value &#039;256&#039; already used
MQSeries.xs(2691) : error C2196: case value &#039;512&#039; already used
MQSeries.xs(2699) : error C2181: illegal else without matching if
MQSeries.xs(2702) : error C2043: illegal break
MQSeries.xs(2703) : error C2046: illegal case
MQSeries.xs(2705) : error C2043: illegal break
MQSeries.xs(2706) : error C2047: illegal default
MQSeries.xs(2711) : error C2065: &#039;Hconn&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;Hmsg&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;SetPropOpts&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;name&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;PropDesc&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;Type&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;value_len&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;value_ptr&#039; : undeclared identifier
MQSeries.xs(2711) : warning C4022: &#039;MQSETMP&#039; : pointer mismatch for actual parameter 8
MQSeries.xs(2711) : error C2065: &#039;CompCode&#039; : undeclared identifier
MQSeries.xs(2711) : error C2065: &#039;Reason&#039; : undeclared identifier
MQSeries.c(4776) : error C2065: &#039;PropDesc&#039; : undeclared identifier
MQSeries.c(4776) : error C2224: left of &#039;.Version&#039; must have struct/union type
MQSeries.c(4776) : error C2198: &#039;Perl_newSViv&#039; : too few arguments for call
MQSeries.c(4778) : error C2065: &#039;PropDesc&#039; : undeclared identifier
MQSeries.c(4778) : error C2224: left of &#039;.Options&#039; must have struct/union type
MQSeries.c(4778) : error C2198: &#039;Perl_newSViv&#039; : too few arguments for call
MQSeries.c(4780) : error C2065: &#039;PropDesc&#039; : undeclared identifier
MQSeries.c(4780) : error C2224: left of &#039;.Support&#039; must have struct/union type
MQSeries.c(4780) : error C2198: &#039;Perl_newSViv&#039; : too few arguments for call
MQSeries.c(4782) : error C2065: &#039;PropDesc&#039; : undeclared identifier
MQSeries.c(4782) : error C2224: left of &#039;.Context&#039; must have struct/union type
MQSeries.c(4782) : error C2198: &#039;Perl_newSViv&#039; : too few arguments for call
MQSeries.c(4784) : error C2065: &#039;PropDesc&#039; : undeclared identifier
MQSeries.c(4784) : error C2224: left of &#039;.CopyOptions&#039; must have struct/union type
MQSeries.c(4784) : error C2198: &#039;Perl_newSViv&#039; : too few arguments for call
MQSeries.c(4787) : error C2065: &#039;CompCode&#039; : undeclared identifier
MQSeries.c(4789) : error C2065: &#039;Reason&#039; : undeclared identifier
MQSeries.c(4792) : error C2059: syntax error : &#039;do&#039;
MQSeries.c(4792) : error C2059: syntax error : &#039;while&#039;
MQSeries.c(4793) : error C2059: syntax error : &#039;}&#039;


Any help is much appreciated</description>
		<content:encoded><![CDATA[<p>I follow your instructions and fail.<br />
Error when doing perl makefile.pl<br />
Unrecognized architecture [MSWin32-x86-multi-thread] and compiler [cl]. Not setting rpath.</p>
<p>I ignored this error/warning and do nmake and get a lot warnings and follows with these errors<br />
MQSeries.xs(2543) : error C2146: syntax error : missing &#8216;)&#8217; before identifier &#8216;PRIdLEAST64&#8242;<br />
MQSeries.xs(2679) : error C2146: syntax error : missing &#8216;)&#8217; before identifier &#8216;SCNdLEAST64&#8242;<br />
MQSeries.xs(2686) : error C2196: case value &#8217;256&#8242; already used<br />
MQSeries.xs(2691) : error C2196: case value &#8217;512&#8242; already used<br />
MQSeries.xs(2699) : error C2181: illegal else without matching if<br />
MQSeries.xs(2702) : error C2043: illegal break<br />
MQSeries.xs(2703) : error C2046: illegal case<br />
MQSeries.xs(2705) : error C2043: illegal break<br />
MQSeries.xs(2706) : error C2047: illegal default<br />
MQSeries.xs(2711) : error C2065: &#8216;Hconn&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;Hmsg&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;SetPropOpts&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;name&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;PropDesc&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;Type&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;value_len&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;value_ptr&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : warning C4022: &#8216;MQSETMP&#8217; : pointer mismatch for actual parameter 8<br />
MQSeries.xs(2711) : error C2065: &#8216;CompCode&#8217; : undeclared identifier<br />
MQSeries.xs(2711) : error C2065: &#8216;Reason&#8217; : undeclared identifier<br />
MQSeries.c(4776) : error C2065: &#8216;PropDesc&#8217; : undeclared identifier<br />
MQSeries.c(4776) : error C2224: left of &#8216;.Version&#8217; must have struct/union type<br />
MQSeries.c(4776) : error C2198: &#8216;Perl_newSViv&#8217; : too few arguments for call<br />
MQSeries.c(4778) : error C2065: &#8216;PropDesc&#8217; : undeclared identifier<br />
MQSeries.c(4778) : error C2224: left of &#8216;.Options&#8217; must have struct/union type<br />
MQSeries.c(4778) : error C2198: &#8216;Perl_newSViv&#8217; : too few arguments for call<br />
MQSeries.c(4780) : error C2065: &#8216;PropDesc&#8217; : undeclared identifier<br />
MQSeries.c(4780) : error C2224: left of &#8216;.Support&#8217; must have struct/union type<br />
MQSeries.c(4780) : error C2198: &#8216;Perl_newSViv&#8217; : too few arguments for call<br />
MQSeries.c(4782) : error C2065: &#8216;PropDesc&#8217; : undeclared identifier<br />
MQSeries.c(4782) : error C2224: left of &#8216;.Context&#8217; must have struct/union type<br />
MQSeries.c(4782) : error C2198: &#8216;Perl_newSViv&#8217; : too few arguments for call<br />
MQSeries.c(4784) : error C2065: &#8216;PropDesc&#8217; : undeclared identifier<br />
MQSeries.c(4784) : error C2224: left of &#8216;.CopyOptions&#8217; must have struct/union type<br />
MQSeries.c(4784) : error C2198: &#8216;Perl_newSViv&#8217; : too few arguments for call<br />
MQSeries.c(4787) : error C2065: &#8216;CompCode&#8217; : undeclared identifier<br />
MQSeries.c(4789) : error C2065: &#8216;Reason&#8217; : undeclared identifier<br />
MQSeries.c(4792) : error C2059: syntax error : &#8216;do&#8217;<br />
MQSeries.c(4792) : error C2059: syntax error : &#8216;while&#8217;<br />
MQSeries.c(4793) : error C2059: syntax error : &#8216;}&#8217;</p>
<p>Any help is much appreciated</p>
]]></content:encoded>
	</item>
</channel>
</rss>
