error:The C++ compiler does not work

新装的centos 6.3下安装freeswitch前./configure时,探测到当前系统中竟然没有自带gcc-c++

报错:
error: The C++ compiler does not work. Please (re)install the C++ compiler

安装gcc-c++
#yum install gcc-c++

检测安装是否ok

#g++ --version

g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



你可能感兴趣的:(Linux,&,Embedded,&,Network)