Re: [INTERNALS-WIN] Building PHP 5.2.8 under WIndows XP
| From: | Pierre Joye | Date: | Thu, 29 Jan 2009 23:01:46 +0000 |
| Subject: | Re: [INTERNALS-WIN] Building PHP 5.2.8 under WIndows XP | ||
| References: | 1 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-384@lists.php.net to get a copy of this message | ||
hi!
On Thu, Jan 29, 2009 at 11:17 PM, David M. Patterson
<dpatterson@dplhenterprises.com> wrote:
> Hello all.
>
> I originally posted this to the general PHP internals list.
> At Pierre's suggestion, I am following up here.
> Note that this post has a correction from the original post: I misstated the
> SDK version in the original post.
>
> I am trying to build PHP 5.3.8 under Windows XP SP3.
>
> I'm using Microsoft Visual Studio V6, SP6 as specified here:
> http://wiki.php.net/internals/windows/compiler.
>
> I have installed the Windows Server Platform SDK as specified here:
> http://wiki.php.net/internals/windows/windowssdk
> and downloaded from here:
>
> http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm.
>
> I have downloaded the binary tools from
>
> http://pecl2.php.net/downloads/php-windows-builds/php-libs/binary-tools.zip
> as specified here:
> http://wiki.php.net/internals/windows/stepbystepbuild.
> Executing nmake then fails thus:
> Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> cgi_main.c
> C:\Program Files\Microsoft SDK\Include\.\wspiapi.h(168) : error C2027: use
> of undefined type 'addrinfo'
> C:\Program Files\Microsoft SDK\Include\.\wspiapi.h(34) : see
> declaration of 'addrinfo'
> C:\Program Files\Microsoft SDK\Include\.\wspiapi.h(184) : error C2037: left
> of 'ai_family' specifies undefined struct/union 'addrinfo'
Be sure to have the SDK include path first in your INCLUDE list. For
example, see:
http://cvs.php.net/viewvc.cgi/php-internals-win/script/conf_tools.bat?revision=1.4&view=markup
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org