编译出现C compiler cannot create executables

来源:互联网 发布:弱电编程语言 编辑:程序博客网 时间:2024/06/05 09:51

Ubuntu14.04使用clang编译Tengine时出现错误:

make

...

...

checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/usr/local/src/pcre-8.36':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[1]: *** [/usr/local/src/pcre-8.36/Makefile] Error 77
make[1]: Leaving directory `/home/data/tengine-2.1.0'
make: *** [build] Error 2


pcre有问题,重新安装一下即可

运行以下命令安装PCRE。

  sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev

  可能还需要安装
sudo apt-get install openssl libssl-dev

0 0
原创粉丝点击