我尝试使用此命令安装名为operator的PECL扩展程序,该扩展程序尚未测试:
sudo pecl install operator-beta
它安装了最新版本0.4.1但失败后:
...
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rootJ71Qeg/operator-0.4.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/operator -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootJ71Qeg/operator-0.4.1/include -I/tmp/pear/temp/pear-build-rootJ71Qeg/operator-0.4.1/main -I/tmp/pear/temp/operator -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/operator/operator.c -o operator.lo
libtool: compile: cc -I. -I/tmp/pear/temp/operator -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootJ71Qeg/operator-0.4.1/include -I/tmp/pear/temp/pear-build-rootJ71Qeg/operator-0.4.1/main -I/tmp/pear/temp/operator -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/operator/operator.c -fPIC -DPIC -o .libs/operator.o
/tmp/pear/temp/operator/operator.c: In function 'php_operator_zval_ptr':
/tmp/pear/temp/operator/operator.c:76:11: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c:78:32: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c:82:31: error: 'zend_execute_data' has no member named 'CVs'
/tmp/pear/temp/operator/operator.c: In function 'php_operator_zval_ptr_ptr':
/tmp/pear/temp/operator/operator.c:138:11: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c:142:31: error: 'zend_execute_data' has no member named 'CVs'
/tmp/pear/temp/operator/operator.c: In function 'php_operator_get_result_ptr':
/tmp/pear/temp/operator/operator.c:196:12: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c: In function 'php_operator_set_result_ptr':
/tmp/pear/temp/operator/operator.c:215:4: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c:216:4: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c:216:57: error: 'zend_execute_data' has no member named 'Ts'
/tmp/pear/temp/operator/operator.c: In function '_php_operator_binary_assign_op':
/tmp/pear/temp/operator/operator.c:427:5: error: too few arguments to function 'object->value.obj.handlers->get_property_ptr_ptr'
/tmp/pear/temp/operator/operator.c: In function '_php_operator_unary_assign_obj_op':
/tmp/pear/temp/operator/operator.c:591:3: error: too few arguments to function 'obj->value.obj.handlers->get_property_ptr_ptr'
make: *** [operator.lo] Error 1
ERROR: `make' failed