Code:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
i have read that you may see this problem if you dont have g++ installed. you should be able to easily install it using your package manager (i.e. synaptic?), but i forget the name of the exact package to look for, so do a quick search for the name; its something with "essentials" in the name, i believe.
Code:
Fatal error: can't create debug.o: Permission denied
first verify the above error message. if, after you can get rid of that message and this second error still appears, make sure you do have write permissions to wherever it is trying to create "debug.o".