I have installed and it works correctly php7 build with -enable-zts (https://github.com/rlerdorf/php7dev)
Now i need to add pthreads extension (https://github.com/krakjoe/pthreads), but get some errors:
In file included from /home/pthreads/php_pthreads.c:47:0:
./src/copy.h:113:8: error: unknown type name ‘zend_live_range’
static zend_live_range* pthreads_copy_live(zend_live_range *old, int end) {
^
./src/copy.h:113:44: error: unknown type name ‘zend_live_range’
static zend_live_range* pthreads_copy_live(zend_live_range *old, int end) {
^
In file included from /home/pthreads/php_pthreads.c:47:0:
./src/copy.h: In function ‘pthreads_copy_user_function’:
./src/copy.h:276:14: error: ‘zend_op_array’ has no member named ‘live_range’
if (op_array->live_range) op_array->live_range = pthreads_copy_live(op_array->live_range, op_array->last_live_range);
^
./src/copy.h:276:37: error: ‘zend_op_array’ has no member named ‘live_range’
if (op_array->live_range) op_array->live_range = pthreads_copy_live(op_array->live_range, op_array->last_live_range);
^
./src/copy.h:276:79: error: ‘zend_op_array’ has no member named ‘live_range’
if (op_array->live_range) op_array->live_range = pthreads_copy_live(op_array->live_range, op_array->last_live_range);
^
./src/copy.h:276:101: error: ‘zend_op_array’ has no member named ‘last_live_range’
if (op_array->live_range) op_array->live_range = pthreads_copy_live(op_array->live_range, op_array->last_live_range);
^
Makefile:196: recipe for target 'php_pthreads.lo' failed
I'd tried to install it via pecl install pthreads
command and via that script:
git clone https://github.com/krakjoe/pthreads.git /home/pthreads
cd /home/pthreads
phpize
./configure --with-php-config=/usr/local/php71-zts/bin/php-config
make
make install
Still have error