error: C compiler cannot create executables
January 3rd, 2009
That is a very common error that users generally encounter when packages are being compiled. Though the log files mention something bizarre, this error can be resolved quite easily by running the following command:
$ sudo apt-get install build-essential
That would do for most cases. Many programs also require a compiler-compiler called ‘bison’. You may install that also by giving,
$ sudo apt-get install bison
This would make sure “configure” scripts work properly.