Advertisement Jump to content
Sign in to follow this  
jeff8j

G++ on server error error trying exec cc1plus

This topic is 2636 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!