Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/98550-compiling-php-from-source-windows/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.