liexusong / php-beast

PHP source code encrypt module (PHP源码加密扩展)
1.71k stars 505 forks source link

php7.2.12 编译失败 使用 docker php:7.2-fpm-alpine镜像 #104

Open Ling1992 opened 5 years ago

Ling1992 commented 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

include

                      ^

compilation terminated. make: *** [Makefile:193: beast.lo] Error 1

liexusong commented 5 years ago

估计php7.2.12没有这个文件

Ling1992 commented 5 years ago

估计php7.2.12没有这个文件

没有解决方案吗?

haohetao commented 5 years ago

这是机器环境的问题

tuine commented 4 years ago

add

apk add --no-cache libunwind-dev