Redhat software installation problems

Source: Internet
Author: User
Redhat software installation problems-General Linux technology-Linux technology and application information, the following is a detailed description. This is an error that occurs when I make
G ++-Ilib-Iexternals/tinyxml-O2-DNDEBUG-Wall-std = c ++ 0x-c-o lib/check64bit. o lib/check64bit. cpp
G ++: error trying to exec 'cc1plus ': execvp: No such file or directory
Make: *** [lib/check64bit. o] Error 1


Some people say that g ++ needs to be installed.
1. first, g ++ and gcc exist in the system (gcc is copied from other places, I wonder if there is any impact ). G ++ and gcc versions should be consistent
2. the VM system cannot access the internet and cannot use functions such as yum install g ++ z.

Cat/proc/version
Linux version 2.6.18-194. el5 (mockbuild@x86-005.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) #1 SMP Tue Mar 16 21:52:39 EDT 2010

G ++-v/gcc-v display results
Using built-in specs.
Target: x86_64-redhat-linux
Configured :.. /configure -- prefix =/usr -- mandir =/usr/share/man -- infodir =/usr/share/info -- enable-shared -- enable-threads = posix -- enable-checking = release -- with-system-zlib -- enable-_ cxa_atexit -- disable-libunwind-exceptions -- enable-libgcj-multifile -- enable-versions ages = c, c ++, objc, obj-c ++, java, fortran, ada -- enable-java-awt = gtk -- disable-dssi -- disable-plugin -- with-java-home =/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre -- with-cpu = generic -- host = x86_64-redhat-linux
Thread model: posix
Gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)

Thank you very much for your advice!
Related Article

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.