PHP APIs

Brian Moon brianm at dealnews.com
Thu Dec 29 01:11:42 UTC 2005


> I'd appreciate if you try to use PECL/memcache and send your 
> remarks/criticism/ideas about it to me and Mikael Johansson (mikl [at] 
> php dot net), or even better - to pecl-dev at lists.php.net.

Still haven't fixed the ZLIB issue?

# pecl install memcache
downloading memcache-2.0.0.tgz ...
Starting to download memcache-2.0.0.tgz (16,896 bytes)
......done: 16,896 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20031224
Zend Module Api No:      20041030
Zend Extension Api No:   220040412
building in /var/tmp/pear-build-root/memcache-2.0.0
running: /tmp/tmp7iSvwc/memcache-2.0.0/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend
checking for PHP extension directory... 
/usr/local/lib/php/extensions/no-debug-non-zts-20041030
checking for re2c... exit 0;
checking for mawk... no
checking for gawk... gawk
: command not foundache-2.0.0/configure: line 1292:
checking whether to enable memcache support... yes, shared
: command not foundache-2.0.0/configure: line 1341:
: command not foundache-2.0.0/configure: line 1342:
/tmp/tmp7iSvwc/memcache-2.0.0/configure: line 1376: syntax error near 
unexpected token `elif'
'tmp/tmp7iSvwc/memcache-2.0.0/configure: line 1376: `    elif test -f 
$PHP_ZLIB_DIR/include/zlib.h; then
ERROR: `/tmp/tmp7iSvwc/memcache-2.0.0/configure' failed


More information about the memcached mailing list