<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express</title>
	<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/</link>
	<description>Night is darkest just before the dawn...</description>
	<pubDate>Mon, 06 Oct 2008 15:48:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Javierfish</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-62174</link>
		<author>Javierfish</author>
		<pubDate>Fri, 11 Apr 2008 19:55:33 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-62174</guid>
		<description>Hello Elizabeth. Hey thanx and congratulations for this great tutorial. I just can't believe that php.net's people don't give such detailed instructions as yours!

Anyway, I'm not pretty sure where to unzip the contents of zip.zip

The contents of zip.zip contains in the first level the dev/ folder. If I extracted the contents of the php source files to c:\php, the zip.zip content should be on c:\php\dev ? Thank you again!</description>
		<content:encoded><![CDATA[<p>Hello Elizabeth. Hey thanx and congratulations for this great tutorial. I just can&#8217;t believe that php.net&#8217;s people don&#8217;t give such detailed instructions as yours!</p>
<p>Anyway, I&#8217;m not pretty sure where to unzip the contents of zip.zip</p>
<p>The contents of zip.zip contains in the first level the dev/ folder. If I extracted the contents of the php source files to c:php, the zip.zip content should be on c:phpdev ? Thank you again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Turland&#8217;s Blog: Custom building php on windows and linux &#124; Development Blog With Code Updates : Developercast.com</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-59060</link>
		<author>Matthew Turland&#8217;s Blog: Custom building php on windows and linux &#124; Development Blog With Code Updates : Developercast.com</author>
		<pubDate>Fri, 21 Mar 2008 16:59:53 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-59060</guid>
		<description>[...] gives his &#8220;laundry list&#8221; of things to download/have access to and the link to Elizabeth&#8217;s tutorial handy. Matthew found a few differences in his compile - an issue with IPv6 support and a pathing [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] gives his &#8220;laundry list&#8221; of things to download/have access to and the link to Elizabeth&#8217;s tutorial handy. Matthew found a few differences in his compile - an issue with IPv6 support and a pathing [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developercast.com &#187; Padraic Brady&#8217;s Blog: Compiling PHP for Windows Vista using Visual C++ Express 2008 - Seriously!</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50825</link>
		<author>developercast.com &#187; Padraic Brady&#8217;s Blog: Compiling PHP for Windows Vista using Visual C++ Express 2008 - Seriously!</author>
		<pubDate>Tue, 18 Dec 2007 16:43:55 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50825</guid>
		<description>[...] Visual C++ Express 2008, then my blog entry is largely another coat of sugar on top of Elizabeth&#8217;s guide to clear up any difference between the two [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Visual C++ Express 2008, then my blog entry is largely another coat of sugar on top of Elizabeth&#8217;s guide to clear up any difference between the two [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Compiling PHP for Windows Vista using Visual C++ Express 2008 - Seriously! &#124; MT-Soft Website Development</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50805</link>
		<author>Compiling PHP for Windows Vista using Visual C++ Express 2008 - Seriously! &#124; MT-Soft Website Development</author>
		<pubDate>Tue, 18 Dec 2007 12:39:12 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50805</guid>
		<description>[...] information available is an excellent guide written by Elizabeth Marie Smith in December 2006 about compiling PHP5 and PHP-GTK2 using Visual C++ Express. The other basically refers back to Elizabeth&#8217;s article and adds some details on needing ICU [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] information available is an excellent guide written by Elizabeth Marie Smith in December 2006 about compiling PHP5 and PHP-GTK2 using Visual C++ Express. The other basically refers back to Elizabeth&#8217;s article and adds some details on needing ICU [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pádraic Brady</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50556</link>
		<author>Pádraic Brady</author>
		<pubDate>Sat, 15 Dec 2007 15:26:44 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50556</guid>
		<description>Quick note that if anyone tries using VCE 2008 - there is no default.js or corewin_express.vsprops file to edit. Rather VCE2008 automatically detects when a Windows SDK is installed for Vista using a path check (see vcvars32.bat) and sets up the relevant environment as needed. I checked and the VCE2008 version of the integration document is inaccurate (marked pre-release version) and does not apply to the final version of VCE2008 for those two files - this threw me for a bit :). In case you go looking VCE2008 already includes v6.0A of the Windows SDK - but it will use v6.0 (the typical Vista SDK) when it's installed. So apply the winres.h fix there.

You may need to restart your PC once (or even twice after the SDK install for this to work) and of course make sure to register VCE2008. Now sure why it fails the first one or two times yet on my machine (you get that telling error about an invalid "-h" option). I noticed registration failed the first two attempts which might have caused the issue.

Another observation is that I'm compiling without .NET Framework SDK 2.0 - maybe Elizabeth knows where the .NET SDK is required specifically. VCE2008 installs .NET Framework 3.5 but that's not the SDK so probably nothing relevant. Haven't done much compiling yet so it may be I've not hit something requiring the .NET SDK.

Finally. Using VCE2005 I had an error in network.h in the main dir of the php source code. The error does not occur when building a PHP 5.3 snapshot of the source code. It seems specific to PHP 5.2.x versions. This error is apparently also specific to Windows Vista using the current Windows SDK For Vista Update.</description>
		<content:encoded><![CDATA[<p>Quick note that if anyone tries using VCE 2008 - there is no default.js or corewin_express.vsprops file to edit. Rather VCE2008 automatically detects when a Windows SDK is installed for Vista using a path check (see vcvars32.bat) and sets up the relevant environment as needed. I checked and the VCE2008 version of the integration document is inaccurate (marked pre-release version) and does not apply to the final version of VCE2008 for those two files - this threw me for a bit :). In case you go looking VCE2008 already includes v6.0A of the Windows SDK - but it will use v6.0 (the typical Vista SDK) when it&#8217;s installed. So apply the winres.h fix there.</p>
<p>You may need to restart your PC once (or even twice after the SDK install for this to work) and of course make sure to register VCE2008. Now sure why it fails the first one or two times yet on my machine (you get that telling error about an invalid &#8220;-h&#8221; option). I noticed registration failed the first two attempts which might have caused the issue.</p>
<p>Another observation is that I&#8217;m compiling without .NET Framework SDK 2.0 - maybe Elizabeth knows where the .NET SDK is required specifically. VCE2008 installs .NET Framework 3.5 but that&#8217;s not the SDK so probably nothing relevant. Haven&#8217;t done much compiling yet so it may be I&#8217;ve not hit something requiring the .NET SDK.</p>
<p>Finally. Using VCE2005 I had an error in network.h in the main dir of the php source code. The error does not occur when building a PHP 5.3 snapshot of the source code. It seems specific to PHP 5.2.x versions. This error is apparently also specific to Windows Vista using the current Windows SDK For Vista Update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: auroraeosrose</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50300</link>
		<author>auroraeosrose</author>
		<pubDate>Wed, 12 Dec 2007 19:54:45 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50300</guid>
		<description>in6addr_any undeclared is the issue - that SHOULD be being declared, if it's NOT something is wrong in the compile....most likely a wayward define...

Just commenting it out doesn't fix the problem that it needs to be defined ;)  see the compiler can't find in6addr_any so it just "assumes" it's an extern int - which is where the "cannot convert" error arises from and commenting that line out doesn't fix the issue it just hides it, until you actually try to do something with ipv6...</description>
		<content:encoded><![CDATA[<p>in6addr_any undeclared is the issue - that SHOULD be being declared, if it&#8217;s NOT something is wrong in the compile&#8230;.most likely a wayward define&#8230;</p>
<p>Just commenting it out doesn&#8217;t fix the problem that it needs to be defined <img src='http://elizabethmariesmith.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  see the compiler can&#8217;t find in6addr_any so it just &#8220;assumes&#8221; it&#8217;s an extern int - which is where the &#8220;cannot convert&#8221; error arises from and commenting that line out doesn&#8217;t fix the issue it just hides it, until you actually try to do something with ipv6&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pádraic Brady</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50292</link>
		<author>Pádraic Brady</author>
		<pubDate>Wed, 12 Dec 2007 16:27:19 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50292</guid>
		<description>Should be fun trying it all again with Visual Studio 2008 Express ;). What "bad things" can be expected by my commenting out that line do you know? Waiting to get back home so I can re-compile with a few more extensions and run PHP's tests.</description>
		<content:encoded><![CDATA[<p>Should be fun trying it all again with Visual Studio 2008 Express ;). What &#8220;bad things&#8221; can be expected by my commenting out that line do you know? Waiting to get back home so I can re-compile with a few more extensions and run PHP&#8217;s tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: auroraeosrose</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50238</link>
		<author>auroraeosrose</author>
		<pubDate>Wed, 12 Dec 2007 00:29:10 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50238</guid>
		<description>Unfortunately, the windows compile superpower to fix it would probably be me.  I thought we fixed this error (it took some weird voodoo ifdefing) - looks like something is going awry....  I can't take a look at the moment because I no longer have my Vista laptop but I'll annoy some people...</description>
		<content:encoded><![CDATA[<p>Unfortunately, the windows compile superpower to fix it would probably be me.  I thought we fixed this error (it took some weird voodoo ifdefing) - looks like something is going awry&#8230;.  I can&#8217;t take a look at the moment because I no longer have my Vista laptop but I&#8217;ll annoy some people&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pádraic Brady</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50146</link>
		<author>Pádraic Brady</author>
		<pubDate>Mon, 10 Dec 2007 22:11:29 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50146</guid>
		<description>Okay - Vista users. To compile around the error I noted, comment out line 897 ("sin6-&#62;sin6_addr = in6addr_any;") and retry nmake. It allows a successful compile though I will not testify to what chaos the commenting out of that line may create down the line!

The exact error preventing Vista compilation:

main\network.c(897) : error C2065: 'in6addr_any' : undeclared identifier
main\network.c(897) : error C2440: '=' : cannot convert from 'int' to 'IN6_ADDR'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe"' : return code '0x2'

Maybe someone less rusty in C and with more VC/Windows compile superpowers can make sense of what's going awry. Oh, and great tutorial Elizabeth!</description>
		<content:encoded><![CDATA[<p>Okay - Vista users. To compile around the error I noted, comment out line 897 (&#8221;sin6-&gt;sin6_addr = in6addr_any;&#8221;) and retry nmake. It allows a successful compile though I will not testify to what chaos the commenting out of that line may create down the line!</p>
<p>The exact error preventing Vista compilation:</p>
<p>mainnetwork.c(897) : error C2065: &#8216;in6addr_any&#8217; : undeclared identifier<br />
mainnetwork.c(897) : error C2440: &#8216;=&#8217; : cannot convert from &#8216;int&#8217; to &#8216;IN6_ADDR&#8217;<br />
NMAKE : fatal error U1077: &#8216;&#8221;C:Program FilesMicrosoft Visual Studio 8VCBINcl.exe&#8221;&#8216; : return code &#8216;0&#215;2&#8242;</p>
<p>Maybe someone less rusty in C and with more VC/Windows compile superpowers can make sense of what&#8217;s going awry. Oh, and great tutorial Elizabeth!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pádraic Brady</title>
		<link>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50141</link>
		<author>Pádraic Brady</author>
		<pubDate>Mon, 10 Dec 2007 20:26:05 +0000</pubDate>
		<guid>http://elizabethmariesmith.com/2006/11/how-to-compile-php52-and-php-gtk2-on-windows-using-visual-c-express/#comment-50141</guid>
		<description>Windows is hell on wheels! ;). Just to torture myself, I'm finding this doesn't work out just yet on Windows Vista using everything except for replacing the SDK with the newer Windows SDK for Vista. Everything works until you try nmake and then it throws some horrific Fatal Error: NMAKE:fatal error U1077 “C:/Program Files/Microsoft Visual Studio 8…c1.exe” return ‘0×2′. For some reason VC's c1.exe doesn't like me, or maybe it's the vengeful Windows platform itself in Vista. Anyone managed to compile under Vista yet? Google just seems to have failed - which is incredible; has a Vista attempt ever been made or mentioned anywhere???</description>
		<content:encoded><![CDATA[<p>Windows is hell on wheels! ;). Just to torture myself, I&#8217;m finding this doesn&#8217;t work out just yet on Windows Vista using everything except for replacing the SDK with the newer Windows SDK for Vista. Everything works until you try nmake and then it throws some horrific Fatal Error: NMAKE:fatal error U1077 “C:/Program Files/Microsoft Visual Studio 8…c1.exe” return ‘0×2′. For some reason VC&#8217;s c1.exe doesn&#8217;t like me, or maybe it&#8217;s the vengeful Windows platform itself in Vista. Anyone managed to compile under Vista yet? Google just seems to have failed - which is incredible; has a Vista attempt ever been made or mentioned anywhere???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
