Asked By
sydney14
0 points
N/A
Posted on - 09/07/2011
recently a friend of mine asked me to install curl and enable it on php configuration in his Virtual Dedicated Server with debian linux as operating system
So i transferred curl source from https://curl.haxx.se/ , extract it, and as usual, i run ./configure
but an error message appeared, stating : configure: error: C compiler cannot create executables"
please can someone help?
Error:
configure: error: C compiler cannot create executablesÂ
                Â
Error compiler cannot create executables
Hello there.
Based on the output you posted, you already have the gcc compiler installed on your system so we can rule out a missing compiler problem. One solution that I found for this sort of problem that you are experiencing is to install the "build essentials" for Debian operating system. It is a package that is necessary to compile all Debian packages.
This is the procedure:
-
Open a terminal. You need not be root to do this.
-
type in "sudo apt-get build-essential" (without the quotes) or use Synaptic to get it from the repositories.
Good luck! Post back to let us know how it turns out.