make[1]: *** [pcrecpp.lo] 错误 1

在安装:pcre-8.30 时,报如下错误:

[root@localhost pcre-8.30]# make && make install
make  all-am
make[1]: Entering directory `/data/soft/nginx/pcre-8.30'
  CXX    pcrecpp.lo
libtool: compile: unrecognized option `-DHAVE_CONFIG_H'
libtool: compile: Try `libtool --help' for more information.
make[1]: *** [pcrecpp.lo] 错误 1
make[1]: Leaving directory `/data/soft/nginx/pcre-8.30'
make: *** [all] 错误 2

这个错误是缺少gcc安转包,运行如下命令:

[root@localhost pcre-8.30]# yum -y install gcc-c++

执行过程......

Complete!

[root@localhost pcre-8.30]# ./configure

......

[root@localhost pcre-8.30]# make && make install

ok安装完成

上一篇:哪5种IO模型?什么是select/poll/epoll?同步异步阻塞非阻塞有啥区别?全在这讲明白了!


下一篇:哈希表(Hash table)