Bug #70578 [NEW]: Could not compile memcache with php-7.0-RC3
| From: | aurelien dot bras at gmail dot com | Date: | Fri, 25 Sep 2015 08:48:25 +0000 |
| Subject: | Bug #70578 [NEW]: Could not compile memcache with php-7.0-RC3 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-196230@lists.php.net to get a copy of this message | ||
From: aurelien dot bras at gmail dot com
Operating system: Debian Jessie (8.0)
PHP version: 7.0.0RC3
Package: Compile Failure
Bug Type: Bug
Bug description:Could not compile memcache with php-7.0-RC3
Description:
------------
When trying to static compile memcache in php-7.0.0RC3, I got a fatal
error while compiling.
Test script:
---------------
mv memcache-3.0.8 php-7.0.0RC3/ext/memcache
cd php-7.0.0RC3
mv configure configure-old
./buildconf --force
./configure \
--prefix=/usr/php56 \
--with-pear=/usr/php56/pear \
--with-config-file-path=/etc/php56/fpm \
--with-config-file-scan-dir=/etc/php56/fpm/conf.d \
--disable-ipv6 \
--disable-posix \
--enable-session \
--enable-memcache \
--without-sqlite3 \
--with-pcre-regex \
--with-openssl \
--with-zlib \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-freetype-dir \
--with-t1lib \
--enable-gd-native-ttf \
--with-gettext \
--with-iconv \
--with-iconv-dir \
--with-mysql \
--with-mysqli \
--enable-pdo \
--without-pdo-sqlite \
--with-pdo-mysql \
--enable-simplexml \
--enable-xml \
--enable-dom \
--with-xsl \
--with-tidy \
--enable-soap \
--enable-ftp \
--enable-exif \
--enable-mbstring \
--enable-zip \
--with-curl \
--enable-calendar \
--with-mcrypt \
--enable-bcmath \
--enable-gd-native-ttf \
--enable-intl \
--with-fpm-systemd \
--enable-fpm
make
Expected result:
----------------
Compilation working.
Actual result:
--------------
/bin/bash /usr/local/src/php-7.0.0RC3/libtool --silent
--preserve-dup-deps --mode=compile cc -I/usr/local/src/php-7.0.0RC3
-Iext/memcache/ -I/usr/local/src/php-7.0.0RC3/ext/memcache/
-DPHP_ATOM_INC -I/usr/local/src/php-7.0.0RC3/include
-I/usr/local/src/php-7.0.0RC3/main -I/usr/local/src/php-7.0.0RC3
-I/usr/local/src/php-7.0.0RC3/ext/date/lib -I/usr/include/libxml2
-I/usr/include/freetype2
-I/usr/local/src/php-7.0.0RC3/ext/mbstring/oniguruma
-I/usr/local/src/php-7.0.0RC3/ext/mbstring/libmbfl
-I/usr/local/src/php-7.0.0RC3/ext/mbstring/libmbfl/mbfl
-I/usr/include/tidy -I/usr/local/src/php-7.0.0RC3/ext/zip/lib
-I/usr/local/src/php-7.0.0RC3/TSRM -I/usr/local/src/php-7.0.0RC3/Zend
-I/usr/include -g -O2 -fvisibility=hidden -c
/usr/local/src/php-7.0.0RC3/ext/memcache/memcache.c -o
ext/memcache/memcache.lo
In file included from
/usr/local/src/php-7.0.0RC3/ext/memcache/php_memcache.h:34:0,
from
/usr/local/src/php-7.0.0RC3/ext/memcache/memcache.c:30:
/usr/local/src/php-7.0.0RC3/ext/memcache/memcache_pool.h:45:47: fatal
error: ext/standard/php_smart_str_public.h: No such file or directory
#include "ext/standard/php_smart_str_public.h"
^
compilation terminated.
Makefile:2004: recipe for target 'ext/memcache/memcache.lo' failed
make: *** [ext/memcache/memcache.lo] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=70578&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70578&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70578&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70578&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70578&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70578&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70578&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70578&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70578&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70578&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70578&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70578&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70578&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70578&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70578&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70578&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70578&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70578&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70578&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70578&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70578&r=mysqlcfg