php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61688 Pecl installation problem
Submitted: 2012-04-10 13:12 UTC Modified: 2012-04-11 02:13 UTC
From: svirus at gmail dot com Assigned:
Status: Duplicate Package: memcache (PECL)
PHP Version: 5.4.0 OS: Linux 2.6.33-5 (Gentoo x86_64)
Private report: No CVE-ID: None
 [2012-04-10 13:12 UTC] svirus at gmail dot com
Description:
------------
memcache pecl installation problem.


Actual result:
--------------
php-5.4.0 $ bin/pecl install memcache-3.0.6
downloading memcache-3.0.6.tgz ...
Starting to download memcache-3.0.6.tgz (54,717 bytes)
.............done: 54,717 bytes
15 source files, building
WARNING: php_bin /xxx/appl/php-5.4.0/bin/php appears to have a suffix 
-5.4.0/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
Enable memcache session handler support? [yes] : 
building in /tmp/pear/temp/pear-build-virusoOgi0K/memcache-3.0.6
running: /tmp/pear/temp/memcache/configure --enable-memcache-session=yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /xxx/appl/php-5.4.0
checking for PHP includes... -I/xxx/appl/php-5.4.0/include/php -I/xxx/appl/php-
5.4.0/include/php/main -I/xxx/appl/php-5.4.0/include/php/TSRM -I/xxx/appl/php-
5.4.0/include/php/Zend -I/xxx/appl/php-5.4.0/include/php/ext -I/xxx/appl/php-
5.4.0/include/php/ext/date/lib
checking for PHP extension directory... /xxx/appl/php-
5.4.0/lib/php/extensions/no-debug-zts-20100525
checking for PHP installed headers prefix... /xxx/appl/php-5.4.0/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate 
PHP parsers.
checking for gawk... gawk
checking whether to enable memcache support... yes, shared
checking whether to enable memcache session handler support... yes
checking for the location of ZLIB... no
checking for the location of zlib... /usr
checking for session includes... /xxx/appl/php-5.4.0/include/php
checking for memcache session support... enabled
checking for ld used by cc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-virusoOgi0K/memcache-3.0.6/libtool --
mode=compile cc -I/xxx/appl/php-5.4.0/include/php -I. -I/tmp/pear/temp/memcache 
-DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-virusoOgi0K/memcache-3.0.6/include -
I/tmp/pear/temp/pear-build-virusoOgi0K/memcache-3.0.6/main -
I/tmp/pear/temp/memcache -I/xxx/appl/php-5.4.0/include/php -I/xxx/appl/php-
5.4.0/include/php/main -I/xxx/appl/php-5.4.0/include/php/TSRM -I/xxx/appl/php-
5.4.0/include/php/Zend -I/xxx/appl/php-5.4.0/include/php/ext -I/xxx/appl/php-
5.4.0/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c 
/tmp/pear/temp/memcache/memcache.c -o memcache.lo
mkdir .libs
 cc -I/xxx/appl/php-5.4.0/include/php -I. -I/tmp/pear/temp/memcache -
DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-virusoOgi0K/memcache-3.0.6/include -
I/tmp/pear/temp/pear-build-virusoOgi0K/memcache-3.0.6/main -
I/tmp/pear/temp/memcache -I/xxx/appl/php-5.4.0/include/php -I/xxx/appl/php-
5.4.0/include/php/main -I/xxx/appl/php-5.4.0/include/php/TSRM -I/xxx/appl/php-
5.4.0/include/php/Zend -I/xxx/appl/php-5.4.0/include/php/ext -I/xxx/appl/php-
5.4.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c 
/tmp/pear/temp/memcache/memcache.c  -fPIC -DPIC -o .libs/memcache.o
 In file included from /tmp/pear/temp/memcache/memcache.c:30:0:
 /tmp/pear/temp/memcache/php_memcache.h:75:0: warning: "IS_CALLABLE" redefined
 /xxx/appl/php-5.4.0/include/php/Zend/zend.h:576:0: note: this is the location 
of the previous definition
 /tmp/pear/temp/memcache/memcache.c: In function ‘mmc_find_persistent’:
 /tmp/pear/temp/memcache/memcache.c:721:4: error: too few arguments to function 
‘zend_list_insert’

 /xxx/appl/php-5.4.0/include/php/Zend/zend_list.h:73:14: note: declared here
 /tmp/pear/temp/memcache/memcache.c:738:4: error: too few arguments to function 
‘zend_list_insert’
 /xxx/appl/php-5.4.0/include/php/Zend/zend_list.h:73:14: note: declared here
 /tmp/pear/temp/memcache/memcache.c: In function ‘php_mmc_pool_addserver’:
 /tmp/pear/temp/memcache/memcache.c:778:3: error: too few arguments to function 
‘zend_list_insert’
 /xxx/appl/php-5.4.0/include/php/Zend/zend_list.h:73:14: note: declared here
 /tmp/pear/temp/memcache/memcache.c: In function ‘php_mmc_connect’:
 /tmp/pear/temp/memcache/memcache.c:839:3: error: too few arguments to function 
‘zend_list_insert’
 /xxx/appl/php-5.4.0/include/php/Zend/zend_list.h:73:14: note: declared here
 make: *** [memcache.lo] Błąd 1
 ERROR: `make' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-11 02:13 UTC] aharvey@php.net
-Status: Open +Status: Duplicate
 [2012-04-11 02:13 UTC] aharvey@php.net
Duplicate of bug #61544 -- PHP 5.4 support in memcache is apparently still in the works.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 17:01:29 2024 UTC