Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation error #6

Open
trapiche-n opened this issue Dec 22, 2021 · 0 comments
Open

installation error #6

trapiche-n opened this issue Dec 22, 2021 · 0 comments

Comments

@trapiche-n
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant