C언어

"configure: error: C++ preprocessor "/lib/cpp" fails sanity check"

고요한하늘... 2013. 1. 29. 10:41

"configure: error: C++ preprocessor "/lib/cpp" fails sanity check"


이런 에러가 나서 구글링을 했더니


yum install gcc-c++를 하라고 했는데

문제가 해결되지 않는다..



이리저리 테스트하다가 아래와 같이 했더니 문제가 해결되었다.


yum install gcc gcc-c++




참고


[root@search-tgrinder-dev16 libtool-2.4]# cat /etc/yum.repos.d/daum.repo

[base]

name=CentOS-$releasever - Base

baseurl=http://ftp.daum.net/centos/6/os/$basearch/

gpgcheck=1

gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-6


[updates]

name=CentOS-$releasever - Updates

baseurl=http://ftp.daum.net/centos/6/updates/$basearch

gpgcheck=1

gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-6


'C언어' 카테고리의 다른 글

error while loading shared libraries  (0) 2013.04.21
[autotools] libtool link 옵션  (0) 2013.04.01
automake & autoconf  (0) 2012.06.18
external MERGE SORT  (0) 2012.05.24
cpu 사용량  (0) 2012.05.04