Bug #64595 [NEW]: memcached won't compile
| From: | thall at nerdie dot net | Date: | Fri, 05 Apr 2013 23:31:03 +0000 |
| Subject: | Bug #64595 [NEW]: memcached won't compile | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-10505@lists.php.net to get a copy of this message | ||
From: thall at nerdie dot net
Operating system: CentOS 6
PHP version: 5.3.23
Package: PECL
Bug Type: Bug
Bug description:memcached won't compile
Description:
------------
libmemcached-1.0.17 (or .16) and memcached-2.1.0 don't want to compile.
# make
/bin/sh /root/tmp/memcached-2.0.1/libtool --mode=compile cc
-I/usr/local/include/php -I. -I/root/tmp/memcached-2.0.1 -DPHP_ATOM_INC
-I/root/tmp/memcached-2.0.1/include -I/root/tmp/memcached-2.0.1/main
-I/root/tmp/memcached-2.0.1 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H
-g -O2 -c /root/tmp/memcached-2.0.1/php_memcached.c -o php_memcached.lo
cc -I/usr/local/include/php -I. -I/root/tmp/memcached-2.0.1 -DPHP_ATOM_INC
-I/root/tmp/memcached-2.0.1/include -I/root/tmp/memcached-2.0.1/main
-I/root/tmp/memcached-2.0.1 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H
-g -O2 -c /root/tmp/memcached-2.0.1/php_memcached.c -fPIC -DPIC -o
.libs/php_memcached.o
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âphp_memc_get_implâ:
/root/tmp/memcached-2.0.1/php_memcached.c:595: warning: assignment discards
qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âphp_memc_getMulti_implâ:
/root/tmp/memcached-2.0.1/php_memcached.c:793: warning: assignment discards
qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c:796: warning: assignment discards
qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âzim_Memcached_fetchâ:
/root/tmp/memcached-2.0.1/php_memcached.c:1010: warning: assignment
discards qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c:1013: warning: assignment
discards qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âzim_Memcached_fetchAllâ:
/root/tmp/memcached-2.0.1/php_memcached.c:1064: warning: assignment
discards qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c:1067: warning: assignment
discards qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âzim_Memcached_getServerByKeyâ:
/root/tmp/memcached-2.0.1/php_memcached.c:1973: warning: assignment
discards qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âphp_memc_do_serverlist_callbackâ:
/root/tmp/memcached-2.0.1/php_memcached.c:2585: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2585: error: request for member
âhostnameâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2586: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2586: error: request for member
âportâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2587: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2587: error: request for member
âweightâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âphp_memc_do_stats_callbackâ:
/root/tmp/memcached-2.0.1/php_memcached.c:2598: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2598: error: request for member
âhostnameâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2598: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2598: error: request for member
âportâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âphp_memc_do_version_callbackâ:
/root/tmp/memcached-2.0.1/php_memcached.c:2643: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2643: error: request for member
âhostnameâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2643: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2643: error: request for member
âportâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2645: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2645: error: request for member
âmajor_versionâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2645: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2645: error: request for member
âminor_versionâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c:2646: warning: dereferencing
âvoid *â pointer
/root/tmp/memcached-2.0.1/php_memcached.c:2646: error: request for member
âmicro_versionâ in something not a structure or union
/root/tmp/memcached-2.0.1/php_memcached.c: In function
âphp_memc_do_result_callbackâ:
/root/tmp/memcached-2.0.1/php_memcached.c:3189: warning: assignment
discards qualifiers from pointer target type
/root/tmp/memcached-2.0.1/php_memcached.c:3192: warning: assignment
discards qualifiers from pointer target type
make: *** [php_memcached.lo] Error 1
Past bug reports about this seem it's an issue with libmemcached's version,
however I've tried different versions and it seems to spit out the same
error.
Test script:
---------------
phpize; configure ; make
--
Edit bug report at https://bugs.php.net/bug.php?id=64595&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64595&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64595&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64595&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64595&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64595&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64595&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64595&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64595&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64595&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64595&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64595&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64595&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64595&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64595&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64595&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64595&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64595&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64595&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64595&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64595&r=mysqlcfg