I am having trouble installing a program
I cd into the directory containing the installation files labeled src and typed ./configure, but it is telling me there is something wrong with my c compiler which I just updated and installed via kynaptic. This is the message I have please help I am in need of assistance!
[root@localhost src]# ./configure checking build system type... i686-pc-linux-gnuoldld checking host system type... i686-pc-linux-gnuoldld checking target system type... i686-pc-linux-gnuoldld checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. [root@localhost src]# allelopath I tried what you told me and it didn't work I am running arklinux |
Make sure that gcc is in your PATH environment variable before cc.
#which cc gcc #echo $PATH Is gcc before cc in your PATH? If gcc is before cc in your PATH, you may have to specify CC=gcc when compiling applications. CC=gcc ./configure or CC=gcc; export CC; ./configure |
Depending on what distro you have, you may also be able to find a binary format of the package you're trying to compile. In general, only compile as a last resort...
|
All times are GMT -5. The time now is 11:43 PM. |