Open Ling1992 opened 5 years ago
/bin/sh /home/php-beast-master/libtool --mode=compile cc -I. -I/home/php-beast-master -DPHP_ATOM_INC -I/home/php-beast-master/include -I/home/php-beast-master/main -I/home/php-beast-master -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/php-beast-master/beast.c -o beast.lo mkdir .libs cc -I. -I/home/php-beast-master -DPHP_ATOM_INC -I/home/php-beast-master/include -I/home/php-beast-master/main -I/home/php-beast-master -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/php-beast-master/beast.c -fPIC -DPIC -o .libs/beast.o /home/php-beast-master/beast.c:65:26: fatal error: execinfo.h: No such file or directory
^
compilation terminated. make: *** [Makefile:193: beast.lo] Error 1
估计php7.2.12没有这个文件
没有解决方案吗?
这是机器环境的问题
apk add --no-cache libunwind-dev
/bin/sh /home/php-beast-master/libtool --mode=compile cc -I. -I/home/php-beast-master -DPHP_ATOM_INC -I/home/php-beast-master/include -I/home/php-beast-master/main -I/home/php-beast-master -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/php-beast-master/beast.c -o beast.lo mkdir .libs cc -I. -I/home/php-beast-master -DPHP_ATOM_INC -I/home/php-beast-master/include -I/home/php-beast-master/main -I/home/php-beast-master -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/php-beast-master/beast.c -fPIC -DPIC -o .libs/beast.o /home/php-beast-master/beast.c:65:26: fatal error: execinfo.h: No such file or directory
include
compilation terminated. make: *** [Makefile:193: beast.lo] Error 1