Compiling from source - Windows
Posted: Sat Mar 29, 2008 7:17 pm
Hi!
I'm unsure if this is the best place for this question but I'm struggling so hard that it's worth a shot.
I'm trying to compile PHP 5.2.5 from source on a windows machine (Vista, 64bit) and I'm running into error after error.
Step-by-step guide I'm following on php.net: http://www.php.net/manual/en/install.wi ... ilding.php
I've run buildconf and configure.js with success, but nmake throws a fatal error:
Google reveals that a few others have this as well, and that its being caused by the libxml library/extension - but I have so little idea how to resolve it. If anyone has any suggestions I'd be most appreciative.
I'm unsure if this is the best place for this question but I'm struggling so hard that it's worth a shot.
I'm trying to compile PHP 5.2.5 from source on a windows machine (Vista, 64bit) and I'm running into error after error.
Step-by-step guide I'm following on php.net: http://www.php.net/manual/en/install.wi ... ilding.php
I've run buildconf and configure.js with success, but nmake throws a fatal error:
Code: Select all
Creating library Release_TS\php5ts.lib and object Release\TS\php5ts.exp
php_xmlreader.obj : warning LNK4217: locally defined symbol _php_dom_create_object imported in function _zim_xmlreader_expand
libxml.obj: error LNK2019 : unresolved external symbol _xm1D11Main referenced in function _D11Main@12
Release_TS\php5ts.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\cl.exe"' : return code '0x2'
Stop.