Description
Hello!
I am trying to install but pecl gives me the following error:
libtool: compile: cc -I. -I/tmp/pear/temp/tensor/ext -I/tmp/pear/temp/pear-build-rootgoI8i3/tensor-3.0.00/include -I/tmp/pear/temp/pear-build-rootgoI8i3/tensor-3.0.00/main -I/tmp/pear/temp/tensor/ext -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -O3 -ffast-math -c /tmp/pear/temp/tensor/ext/kernel/main.c -MMD -MF kernel/main.dep -MT kernel/main.lo -fPIC -DPIC -o kernel/.libs/main.o /tmp/pear/temp/tensor/ext/kernel/main.c: In function ‘zephir_fast_count’: /tmp/pear/temp/tensor/ext/kernel/main.c:154:45: error: ‘spl_ce_Countable’ undeclared (first use in this function); did you mean ‘zend_ce_countable’? 154 | if (instanceof_function(Z_OBJCE_P(value), spl_ce_Countable)) { | ^~~~~~~~~~~~~~~~ | zend_ce_countable /tmp/pear/temp/tensor/ext/kernel/main.c:154:45: note: each undeclared identifier is reported only once for each function it appears in /tmp/pear/temp/tensor/ext/kernel/main.c: In function ‘zephir_fast_count_ev’: /tmp/pear/temp/tensor/ext/kernel/main.c:204:45: error: ‘spl_ce_Countable’ undeclared (first use in this function); did you mean ‘zend_ce_countable’? 204 | if (instanceof_function(Z_OBJCE_P(value), spl_ce_Countable)) { | ^~~~~~~~~~~~~~~~ | zend_ce_countable /tmp/pear/temp/tensor/ext/kernel/main.c: In function ‘zephir_fast_count_int’: /tmp/pear/temp/tensor/ext/kernel/main.c:252:45: error: ‘spl_ce_Countable’ undeclared (first use in this function); did you mean ‘zend_ce_countable’? 252 | if (instanceof_function(Z_OBJCE_P(value), spl_ce_Countable)) { | ^~~~~~~~~~~~~~~~ | zend_ce_countable /tmp/pear/temp/tensor/ext/kernel/main.c: In function ‘zephir_function_exists’: /tmp/pear/temp/tensor/ext/kernel/main.c:285:101: warning: comparison between pointer and integer 285 | if (zend_hash_str_exists(CG(function_table), Z_STRVAL_P(function_name), Z_STRLEN_P(function_name)) != NULL) { | ^~ /tmp/pear/temp/tensor/ext/kernel/main.c: In function ‘zephir_function_exists_ex’: /tmp/pear/temp/tensor/ext/kernel/main.c:301:76: warning: comparison between pointer and integer 301 | if (zend_hash_str_exists(CG(function_table), function_name, function_len) != NULL) { | ^~ make: *** [Makefile:205: kernel/main.lo] Error 1 ERROR:
make' failed
`
my system is ubuntu server 20.04 with php 8.0.14
Thanks!