Created
September 20, 2016 07:22
-
-
Save ikariiin/de0f018b80a684758ea99a23bf69ee15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lelouch@Geass ~/php-7.1.0RC2 $ sudo pecl install pthreads | |
downloading pthreads-3.1.6.tar ... | |
Starting to download pthreads-3.1.6.tar (455,168 bytes) | |
....done: 455,168 bytes | |
28 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20160303 | |
Zend Module Api No: 20160303 | |
Zend Extension Api No: 320160303 | |
building in /tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6 | |
running: /tmp/pear/temp/pthreads/configure --with-php-config=/usr/local/bin/php-config | |
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... /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 -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib | |
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-zts-20160303 | |
checking for PHP installed headers prefix... /usr/local/include/php | |
checking if debug is enabled... no | |
checking if zts is enabled... yes | |
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 pthreads... yes, shared | |
checking whether to enable AddressSanitizer for pthreads... no | |
checking whether to enable dmalloc for pthreads... no | |
checking for ZTS... ok | |
checking for ld used by cc... /usr/bin/ld | |
checking if the linker (/usr/bin/ld) is GNU ld... yes | |
checking for /usr/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/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/bash /tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/pthreads -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/include -I/tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/main -I/tmp/pear/temp/pthreads -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/tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/. -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pthreads/php_pthreads.c -o php_pthreads.lo | |
mkdir .libs | |
cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/pthreads -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/include -I/tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/main -I/tmp/pear/temp/pthreads -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/tmp/pear/temp/pear-build-rootKvRqdL/pthreads-3.1.6/. -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pthreads/php_pthreads.c -fPIC -DPIC -o .libs/php_pthreads.o | |
In file included from /usr/local/include/php/Zend/zend_modules.h:26:0, | |
from /usr/local/include/php/Zend/zend_API.h:27, | |
from /usr/local/include/php/main/php.h:39, | |
from /tmp/pear/temp/pthreads/src/pthreads.h:37, | |
from /tmp/pear/temp/pthreads/php_pthreads.c:22: | |
/tmp/pear/temp/pthreads/classes/threaded.h: In function ‘zim_Threaded_extend’: | |
/usr/local/include/php/Zend/zend_compile.h:515:39: error: ‘zend_execute_data’ has no member named ‘called_scope’ | |
#define EX(element) ((execute_data)->element) | |
^ | |
/tmp/pear/temp/pthreads/classes/threaded.h:322:29: note: in expansion of macro ‘EX’ | |
zend_do_inheritance(ce, EX(called_scope)); | |
^ | |
In file included from /usr/local/include/php/Zend/zend.h:31:0, | |
from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pthreads/src/pthreads.h:37, | |
from /tmp/pear/temp/pthreads/php_pthreads.c:22: | |
/usr/local/include/php/Zend/zend_compile.h:515:39: error: ‘zend_execute_data’ has no member named ‘called_scope’ | |
#define EX(element) ((execute_data)->element) | |
^ | |
/usr/local/include/php/Zend/zend_types.h:608:5: note: in definition of macro ‘ZVAL_BOOL’ | |
(b) ? IS_TRUE : IS_FALSE; \ | |
^ | |
/usr/local/include/php/Zend/zend_API.h:639:31: note: in expansion of macro ‘RETVAL_BOOL’ | |
#define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | |
^ | |
/tmp/pear/temp/pthreads/classes/threaded.h:327:5: note: in expansion of macro ‘RETURN_BOOL’ | |
RETURN_BOOL(instanceof_function(ce, EX(called_scope))); | |
^ | |
/tmp/pear/temp/pthreads/classes/threaded.h:327:41: note: in expansion of macro ‘EX’ | |
RETURN_BOOL(instanceof_function(ce, EX(called_scope))); | |
^ | |
In file included from /tmp/pear/temp/pthreads/php_pthreads.h:43:0, | |
from /tmp/pear/temp/pthreads/php_pthreads.c:26: | |
/tmp/pear/temp/pthreads/classes/worker.h: In function ‘zim_Worker_collect’: | |
/tmp/pear/temp/pthreads/classes/worker.h:53:10: error: ‘zend_fcall_info’ has no member named ‘function_table’ | |
call.fci.function_table = &(w)->ce->function_table; \ | |
^ | |
/tmp/pear/temp/pthreads/classes/worker.h:227:3: note: in expansion of macro ‘PTHREADS_WORKER_COLLECTOR_INIT’ | |
PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(getThis())); | |
^ | |
/tmp/pear/temp/pthreads/classes/worker.h:55:57: error: ‘zend_fcall_info’ has no member named ‘function_table’ | |
call.fcc.function_handler = zend_hash_find_ptr(call.fci.function_table, Z_STR(call.fci.function_name)); \ | |
^ | |
/tmp/pear/temp/pthreads/classes/worker.h:227:3: note: in expansion of macro ‘PTHREADS_WORKER_COLLECTOR_INIT’ | |
PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(getThis())); | |
^ | |
In file included from /usr/local/include/php/Zend/zend_portability.h:52:0, | |
from /usr/local/include/php/Zend/zend_types.h:27, | |
from /usr/local/include/php/Zend/zend.h:31, | |
from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pthreads/src/pthreads.h:37, | |
from /tmp/pear/temp/pthreads/php_pthreads.c:22: | |
/tmp/pear/temp/pthreads/classes/pool.h: In function ‘zim_Pool_submit’: | |
/usr/local/include/php/Zend/../TSRM/TSRM.h:171:69: error: ‘zend_executor_globals’ has no member named ‘scope’ | |
#define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) | |
^ | |
/usr/local/include/php/Zend/zend.h:57:20: note: in expansion of macro ‘TSRMG_STATIC’ | |
#define ZEND_TSRMG TSRMG_STATIC | |
^ | |
/usr/local/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro ‘ZEND_TSRMG’ | |
# define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v) | |
^ | |
/tmp/pear/temp/pthreads/classes/pool.h:189:30: note: in expansion of macro ‘EG’ | |
zend_class_entry *scope = EG(scope); | |
^ | |
/usr/local/include/php/Zend/../TSRM/TSRM.h:171:69: error: ‘zend_executor_globals’ has no member named ‘scope’ | |
#define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) | |
^ | |
/usr/local/include/php/Zend/zend.h:57:20: note: in expansion of macro ‘TSRMG_STATIC’ | |
#define ZEND_TSRMG TSRMG_STATIC | |
^ | |
/usr/local/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro ‘ZEND_TSRMG’ | |
# define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v) | |
^ | |
/tmp/pear/temp/pthreads/classes/pool.h:195:4: note: in expansion of macro ‘EG’ | |
EG(scope) = ce; | |
^ | |
/usr/local/include/php/Zend/../TSRM/TSRM.h:171:69: error: ‘zend_executor_globals’ has no member named ‘scope’ | |
#define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) | |
^ | |
/usr/local/include/php/Zend/zend.h:57:20: note: in expansion of macro ‘TSRMG_STATIC’ | |
#define ZEND_TSRMG TSRMG_STATIC | |
^ | |
/usr/local/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro ‘ZEND_TSRMG’ | |
# define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v) | |
^ | |
/tmp/pear/temp/pthreads/classes/pool.h:197:4: note: in expansion of macro ‘EG’ | |
EG(scope) = scope; | |
^ | |
In file included from /tmp/pear/temp/pthreads/php_pthreads.c:442:0: | |
/tmp/pear/temp/pthreads/classes/pool.h:204:8: error: ‘zend_fcall_info’ has no member named ‘function_table’ | |
fci.function_table = EG(function_table); | |
^ | |
In file included from /usr/local/include/php/Zend/zend_portability.h:52:0, | |
from /usr/local/include/php/Zend/zend_types.h:27, | |
from /usr/local/include/php/Zend/zend.h:31, | |
from /usr/local/include/php/main/php.h:35, | |
from /tmp/pear/temp/pthreads/src/pthreads.h:37, | |
from /tmp/pear/temp/pthreads/php_pthreads.c:22: | |
/usr/local/include/php/Zend/../TSRM/TSRM.h:171:69: error: ‘zend_executor_globals’ has no member named ‘scope’ | |
#define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) | |
^ | |
/usr/local/include/php/Zend/zend.h:57:20: note: in expansion of macro ‘TSRMG_STATIC’ | |
#define ZEND_TSRMG TSRMG_STATIC | |
^ | |
/usr/local/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro ‘ZEND_TSRMG’ | |
# define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v) | |
^ | |
/tmp/pear/temp/pthreads/classes/pool.h:211:25: note: in expansion of macro ‘EG’ | |
fcc.calling_scope = EG(scope); | |
^ | |
In file included from /tmp/pear/temp/pthreads/php_pthreads.h:43:0, | |
from /tmp/pear/temp/pthreads/php_pthreads.c:26: | |
/tmp/pear/temp/pthreads/classes/pool.h: In function ‘zim_Pool_collect’: | |
/tmp/pear/temp/pthreads/classes/worker.h:53:10: error: ‘zend_fcall_info’ has no member named ‘function_table’ | |
call.fci.function_table = &(w)->ce->function_table; \ | |
^ | |
/tmp/pear/temp/pthreads/classes/pool.h:293:4: note: in expansion of macro ‘PTHREADS_WORKER_COLLECTOR_INIT’ | |
PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(worker)); | |
^ | |
/tmp/pear/temp/pthreads/classes/worker.h:55:57: error: ‘zend_fcall_info’ has no member named ‘function_table’ | |
call.fcc.function_handler = zend_hash_find_ptr(call.fci.function_table, Z_STR(call.fci.function_name)); \ | |
^ | |
/tmp/pear/temp/pthreads/classes/pool.h:293:4: note: in expansion of macro ‘PTHREADS_WORKER_COLLECTOR_INIT’ | |
PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(worker)); | |
^ | |
make: *** [php_pthreads.lo] Error 1 | |
ERROR: `make' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment