pcre编译出错gcc-c++未安装

root@vps pcre-7.9]# make
make all-am
make[1]: Entering directory `/soft/pcre-7.9'
source='pcrecpp.cc' object='pcrecpp.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/sh ./depcomp \
        /bin/sh ./libtool --tag=CXX   --mode=compile -DHAVE_CONFIG_H -I.      -c -o pcrecpp.lo pcrecpp.cc
libtool: ignoring unknown tag CXX
libtool: unrecognized option `-DHAVE_CONFIG_H'
Try `libtool --help' for more information.
make[1]: *** [pcrecpp.lo] Error 1
make[1]: Leaving directory `/soft/pcre-7.9'
make: *** [all] Error 2

[root@vps pcre-7.9]# rpm -qa | grep gcc-c++
[root@vps pcre-7.9]# yum install -y gcc-c++

gcc-c++未安装,安装即可,然后重新编译configure make make install


你可能感兴趣的:(liunx,object)