checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for a sed that does not truncate output… /bin/sed
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for cc… cc
checking whether the C compiler works… no
configure: error: in /home/xiaogu/Downloads/php-7.0.10':
config.log’ for more details
configure: error: C compiler cannot create executables
See
编译的时候出现上面的错误,马丹,网上答案乱七八糟!,下面这个方法直接搞定了
sudo apt-get install build-essential