Compiler error

Thorne Lawler thorin at
Tue Jan 9 03:29:19 UTC 2007


Zlaw Du Pain wrote:
> Any tips on what's missing for compliling??, i'm getting this error message:
> loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler 
> cannot create executables.

Try the following:
sudo apt-get install build-essential

Failing that, check that your gcc is actually a binary with this command:

file `which gcc`

(Note back-ticks, not single-quotes)

You should see somehting like this:
/usr/bin/gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped

Thorne Huw Lawler
"Croup and Vandermar, the Old Firm. Obstacles
obliterated, nuisances eradicated, bothersome
limbs removed and tutelary dentistry undertaken"

More information about the ubuntu-users mailing list