php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59718 'make' fails with error
Submitted: 2011-04-18 08:59 UTC Modified: 2011-05-02 17:39 UTC
From: normandiggs at gmail dot com Assigned:
Status: Closed Package: memcached (PECL)
PHP Version: 5.3.5 OS: debian
Private report: No CVE-ID: None
 [2011-04-18 08:59 UTC] normandiggs at gmail dot com
Description:
------------
Installed libmemcached-0.49
Downloaded sources from pecl site.

./configure --disable-memcached-session (because pecl installer can't check sessions php-extension existing)

/dist/memcached-2.0.0b1# make
/bin/bash /dist/memcached-2.0.0b1/libtool --mode=compile cc   -I. -I/dist/memcached-2.0.0b1 -DPHP_ATOM_INC -I/dist/memcached-2.0.0b1/include -I/dist/memcached-2.0.0b1/main -I/dist/memcached-2.0.0b1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /dist/memcached-2.0.0b1/php_memcached.c -o php_memcached.lo 
mkdir .libs
 cc -I. -I/dist/memcached-2.0.0b1 -DPHP_ATOM_INC -I/dist/memcached-2.0.0b1/include -I/dist/memcached-2.0.0b1/main -I/dist/memcached-2.0.0b1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /dist/memcached-2.0.0b1/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o
/dist/memcached-2.0.0b1/php_memcached.c: In function ?php_memc_get_impl?:
/dist/memcached-2.0.0b1/php_memcached.c:572: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c: In function ?php_memc_getMulti_impl?:
/dist/memcached-2.0.0b1/php_memcached.c:772: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c:775: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c: In function ?zim_Memcached_fetch?:
/dist/memcached-2.0.0b1/php_memcached.c:989: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c:992: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c: In function ?zim_Memcached_fetchAll?:
/dist/memcached-2.0.0b1/php_memcached.c:1043: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c:1046: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c: In function ?zim_Memcached_getServerByKey?:
/dist/memcached-2.0.0b1/php_memcached.c:1818: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c: In function ?php_memc_do_serverlist_callback?:
/dist/memcached-2.0.0b1/php_memcached.c:2357: warning: passing argument 4 of ?add_assoc_string_ex? discards qualifiers from pointer target type
/usr/include/php/Zend/zend_API.h:360: note: expected ?char *? but argument is of type ?const char *?
/dist/memcached-2.0.0b1/php_memcached.c: In function ?php_memc_handle_error?:
/dist/memcached-2.0.0b1/php_memcached.c:2447: error: ?memcached_st? has no member named ?cached_errno?
/dist/memcached-2.0.0b1/php_memcached.c:2454: error: ?memcached_st? has no member named ?cached_errno?
/dist/memcached-2.0.0b1/php_memcached.c: In function ?php_memc_do_result_callback?:
/dist/memcached-2.0.0b1/php_memcached.c:2925: warning: assignment discards qualifiers from pointer target type
/dist/memcached-2.0.0b1/php_memcached.c:2928: warning: assignment discards qualifiers from pointer target type
make: *** [php_memcached.lo] Error 1

I very want 2.0 version because of getAllKeys() method. Please, fix this bug.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-18 13:39 UTC] andrei@php.net
2.0.0b1 does not work with libmemcached-0.49 yet.
 [2011-04-19 12:31 UTC] normandiggs at gmail dot com
Where can I find information, which versions of libmemcached are supported?
Something like "How to install" page.
Sorry, if I missed something.
 [2011-04-19 13:54 UTC] andrei@php.net
Sorry, there's not a good page for that right now. 
libmemcached versions < 0.49 are supported.
 [2011-05-02 17:39 UTC] andrei@php.net
Fixed on Github.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC