最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[fixed]configure: error: C++ preprocessor “/lib/cpp” fails sanity check

工作和技术 crifan 3273浏览 0评论

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

according to some articles on web:

1.http://forum.ubuntu.org.cn/viewtopic.php?f=85&t=102970

出现该情况是由于c++编译器的相关package没有安装,以超级用户登陆,在终端上执行:

#yum install glibc-headers

#yum install gcc-c++

2.http://wiki.ubuntu.org.cn/index.php?title=EclipseSubversion&variant=zh-cn

To solve the error C++ preprocessor "/lib/cpp" fails sanity check while compiling Subversion, you need to download GCC, CPP and G++ by installing the following packages

<font color="#339966">gcc cpp g++</font>

but that is for other Linux distribution system, my is Ubuntu, so we should install the needed libs

sudo aptitude install build-essential

this will download and install the essential lib that is build related, such as gcc g++ ….

转载请注明:在路上 » [fixed]configure: error: C++ preprocessor “/lib/cpp” fails sanity check

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (2)

  1. thanks a lot, it works!~
    匿名网友16年前 (2009-06-04)回复
  2. 问题结解决了 呵呵
    匿名网友16年前 (2009-05-15)回复
82 queries in 0.191 seconds, using 22.09MB memory