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