C compiler cannot create executables checking whether the C compiler works... no

来源:互联网 发布:网络黑白txt下载 编辑:程序博客网 时间:2024/06/07 02:02

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':
configure: error: C compiler cannot create executables
See
config.log’ for more details

编译的时候出现上面的错误,马丹,网上答案乱七八糟!,下面这个方法直接搞定了

sudo apt-get install build-essential

0 0
原创粉丝点击