gcc: error trying to exec 'cc1plus': execvp: No such file or directory- Fedora 10
Hello all,
I've been trying to run the ./configure command to compile a few programs, but I was having trouble with not having a c++ compiler. After installing gcc, I decided to test it by making a small simple c++ program. I put the program on my Desktop, open my Desktop folder in terminal, and type "gcc test.cpp" and it returns: Code:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory Thanks very much. |
You need to install a g++ package. I don't know what distro you're using so I can't tell you exactly which one. It will probably be one of: g++-4.1 g++-4.2 g++-4.3
cheers, jdk |
The package name is 'gcc-c++'
# yum install gcc-c++ ( And # 'yum search ... ' is not very helpful with finding the package name.) ..... |
This worked. Thank you!
|
Quote:
|
I'm happy to hear it. Note that this thread is over 4 years old.
jdk |
All times are GMT -5. The time now is 06:47 PM. |