Every time I install a new ubuntu distro and I try to compile the first application I have this:
configure:error: C compiler cannot create executables
and this is the solution:
sudo apt-get install g++
So, I hope not to forget this next time
[EDIT: Manish, whose Linux expertise is much better than mine
, correctly suggests:
sudo apt-get install build-essential
which is in fact less dirty than my solution]
January 29, 2008 at 3:06 pm
actually I think you can also just set yourself up for general/generic development stuff by doing:
sudo apt-get install build-essential
January 29, 2008 at 3:19 pm
Thanks, edited.
Besides, you know I’m a Mac guy
May 2, 2008 at 8:03 am
hi
i got the same error but apt-get command not working for that what can i do
plaese anybody helpme
May 2, 2008 at 8:24 am
Hi, what do you receive exactly when you write:
sudo apt-get install build-essential
?