Re: [INTERNALS-WIN] Issue with compiling php 5.2.8 on windows xp using VC6
[email protected] ("Pierre Joye")
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
hi, On Wed, Dec 24, 2008 at 7:34 PM, Sriram Natarajan <[email protected]> wrote: > HI > I am trying to compile PHP 5.2.8 on windows and running into some issues. I was wondering, if some one can kindly point me as to what am I missing here. > > I am running on Windows XP SP3, VC6 (SP5) and Windows 2003 Microsoft SDK (feb 2003 update) > > - downloaded php dependent libaries from the below url and unpacked to say c:\release > http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC6/x86/ > - downloaded php-binary tools from > http://pecl2.php.net/downloads/php-windows-builds/php-libs/ > > Now, when I try to compile PHP 5.2.8, using some thing like > > cscript configure.js --with-php-build=.. --with-extra-includes=... --with-extra-libs=.. For php 5.2, the hierarchy looks like (given that you have your development directory in c:\php-sdk): c:\php-sdk |_ php52 |_ vc6 |_ x86 |_ php_build |_ include |_ lib |_ php-src ( cvs co -r PHP_5_2 php5) the whole structure except the php_build directory (which is 5.2 only) structure can be created using the phpsdk_buildtree script. > I run into the following error libxml is not enabled. 5.2 configure is less flexible than 5,3 and more options are necessary by default. Please try using: configure --enable-snapshot-build ... add --with-php-build with the right directory if you use another structure than the one described earlier. or enable xml using --with-libxml > .\ext\dom/xml_common.h(27) : error C2143: syntax error : missing '{' before '*' Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org