c++ Compile Errors
I receive the following error when compiling c++ code
gcc: error trying to exec 'cc1plus': execvp: No such file or directory Error: child process exited abnormally Error: gcc: error trying to exec 'cc1plus': execvp: No such file or directory Error: child process exited abnormally Error: g++: ./ds_test.o: No such file or directory Error: g++: ./ds_test_c.o: No such file or directory I try yum install gcc-c++ (as many have suggested online), this is the feedback from running that; No package gcc-c++ available. Nothing to do I appreciate your help. |
What distro are you running?
|
Sorry I did not mention that.
Red Hat Enterprise Linux Client release 5.7 (Tikanga) |
What is the FULL output from "yum install gcc-c++"? Do you have an active RHEL license?
And what is the command you are running to compile the code? |
My RH base package did not have gcc-c++. My IT support added a new channel to include the proper package inclusive of gcc-c++.
And now I can compile! Thanks for your help. |
All times are GMT -5. The time now is 01:47 AM. |