Syeknom Posted March 30, 2008 Share Posted March 30, 2008 Hi! I'm unsure if this is the best place for this question as its not strictly about installation, rather building/compilation 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.windows.building.php I've run buildconf and configure.js with success, but nmake throws a fatal error: 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. 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. Quote Link to comment https://forums.phpfreaks.com/topic/98550-compiling-php-from-source-windows/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.