C ++ Preprocessor "/lib/CPP" fails sanity

Source: Internet
Author: User
Problem:
When installing some software, running./configure reports an error,
Configure: Error: C ++ Preprocessor "/lib/CPP" fails sanitycheck see 'config. log' For more details
Cause:
This occurs because the C ++ compiler package is not installed.
Solution:
Install related packages as root users
# Yum install glibc-headers # Yum install gcc-C ++
If the brothers do not configure yum, go to http://rpm.pbone.net/search it if the brothers do not want to search...
1. GCC-C ++-4.1.1-52. el5.x86 _ 64.rpm -- http://download.csdn.net/source/5310502.glibc-headers-2.5-12.x86_64.rpm -- http://download.csdn.net/source/5310593.libstdc++-devel-4.1.1-52.el5.i386.rpm -- http://download.csdn.net/source/531066
Note: The first two packages have a dependency package 3, which I forgot. Give it a try.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.