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

PHP8.2下 安装yaf-3.3.5报错 #580

Closed
letwang opened this issue Dec 14, 2022 · 5 comments
Closed

PHP8.2下 安装yaf-3.3.5报错 #580

letwang opened this issue Dec 14, 2022 · 5 comments

Comments

@letwang
Copy link

letwang commented Dec 14, 2022

libtool: compile: cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/responses/yaf_response_cli.c -MMD -MF responses/yaf_response_cli.dep -MT responses/yaf_response_cli.lo -fPIC -DPIC -o responses/.libs/yaf_response_cli.o /bin/bash /tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/libtool --mode=compile cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/yaf_view.c -o yaf_view.lo -MMD -MF yaf_view.dep -MT yaf_view.lo libtool: compile: cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/yaf_view.c -MMD -MF yaf_view.dep -MT yaf_view.lo -fPIC -DPIC -o .libs/yaf_view.o /bin/bash /tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/libtool --mode=compile cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/views/yaf_view_interface.c -o views/yaf_view_interface.lo -MMD -MF views/yaf_view_interface.dep -MT views/yaf_view_interface.lo libtool: compile: cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/views/yaf_view_interface.c -MMD -MF views/yaf_view_interface.dep -MT views/yaf_view_interface.lo -fPIC -DPIC -o views/.libs/yaf_view_interface.o /bin/bash /tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/libtool --mode=compile cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/views/yaf_view_simple.c -o views/yaf_view_simple.lo -MMD -MF views/yaf_view_simple.dep -MT views/yaf_view_simple.lo libtool: compile: cc -I. -I/tmp/pear/temp/yaf -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/include -I/tmp/pear/temp/pear-build-defaultuser9Kt7Qo/yaf-3.3.5/main -I/tmp/pear/temp/yaf -I/usr/include/php/20220829 -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/yaf/views/yaf_view_simple.c -MMD -MF views/yaf_view_simple.dep -MT views/yaf_view_simple.lo -fPIC -DPIC -o views/.libs/yaf_view_simple.o /tmp/pear/temp/yaf/views/yaf_view_simple.c: In function 'yaf_view_simple_eval': /tmp/pear/temp/yaf/views/yaf_view_simple.c:392:20: error: too few arguments to function 'zend_compile_string' 392 | op_array = zend_compile_string(Z_STR(phtml), eval_desc); | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:257: views/yaf_view_simple.lo] Error 1 ERROR: make' failed
`

@letwang letwang changed the title PHP PHP8.2下 安装报错 Dec 14, 2022
@letwang letwang changed the title PHP8.2下 安装报错 PHP8.2下 安装yaf-3.3.5报错 Dec 19, 2022
@letwang
Copy link
Author

letwang commented Jan 13, 2023

需要作者重新发包哦

@smashdog
Copy link

需要作者重新发包哦

https://github.com/laruence/yaf/pull/579/files
这个才是正确的做法,我那个有问题

@smashdog
Copy link

需要作者重新发包哦

自己下载源文件,修改对应的文件内容,再编译就行了

@keilestone
Copy link

还是希望鸟哥能重新发版,docker部署的,pecl直接安装比较方便

@letwang
Copy link
Author

letwang commented Feb 13, 2023

是的

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

4 participants