Jump to content
  • Advertisement
Sign in to follow this  
jeff8j

G++ on server error error trying exec cc1plus

This topic is 2484 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to run a build on my server but I am getting the error:
g++: error trying to exec 'cc1plus': execvp: No such file or directory

I have tried uninstalling and reinstalling everything that has anything todo with gcc/g++
build-essentials is installed

I think this is the problem but dont know how to fix it
locate cc1plus gives nothing
Any Ideas?


gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

g++ -- version
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

lsb_release -a
No LSB modules are available
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty


UPDATE: Seems to work just fine as root but other users get this error. Why is that? I need regular users to compile.

Share this post


Link to post
Share on other sites
Advertisement
Solved!!!

For the next person to have a problem similar to this make sure to check the enviroment variables

I was running php through fastcgi and the path variable wasnt set I simply set it and now everything works like it should!!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!