Compiling memcache and APC for PHP 5.6
| From: | Jorge F. Hernandez | Date: | Thu, 15 May 2014 17:08:47 +0000 |
| Subject: | Compiling memcache and APC for PHP 5.6 | ||
| Groups: | php.internals.win | ||
| Request: | Send a blank email to internals-win+get-1005@lists.php.net to get a copy of this message | ||
Hey guys,
Does anybody know what can cause this?
When I try to compile memcache and APC PECL extensions for PHP 5.6 I get this:
MEMCACHE:
Creating library Release_TS\php_memcache.lib and object Release_TS\php_memcache.exp
memcache_pool.obj : error LNK2019: unresolved external symbol _compress referenced in function _mmc_compress
memcache_pool.obj : error LNK2019: unresolved external symbol _uncompress referenced in function _mmc_uncompress
Release_TS\php_memcache.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
APC (some lines erased - Warnings, not errors):
..\pecl\APC-3.1.13\apc_bin.c(487) : error C2065: 'IS_CONSTANT_ARRAY' : undeclared identifier
..\pecl\APC-3.1.13\apc_bin.c(487) : error C2051: case expression not constant
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
I'm using the latest versions of each.
ALSO:
APC won't compile for PHP 5.5 either, I tried version 3.1.9 and 3.1.13
..\pecl\APC-3.1.9\apc_zend.c(170) : error C2039: 'Ts' : is not a member of '_zend_execute_data'
d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : see declaration of '_zend_execute_data'
d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : see declaration of '_zend_execute_data'
d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : see declaration of '_zend_execute_data'
..\pecl\APC-3.1.9\apc_zend.c(171) : error C2039: 'Ts' : is not a member of '_zend_execute_data'
d:\php-sdk\php55dev\vc11\x86\php-5.5.12-src\zend\zend_compile.h(384) : see declaration of '_zend_execute_data'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
Thanks,