C compiler not found, Ubuntu

cecile picture cecile · Mar 21, 2014 · Viewed 19.1k times · Source

I'm trying to install wine on a 64bits, so I followed this : http://wiki.winehq.org/WineOn64bit

And when I launch configure, I have this error :

"configure: error: no acceptable C compiler found in $PATH"

But the whereis gcc says:

"gcc: /usr/lib/gcc"

What shoud I do now?

Answer

Aakash Jain picture Aakash Jain · Mar 21, 2014

Run the command:

sudo apt-get install build-essential