Error message when doing ./configure
Hi,
I trying to install a application on my fedora 2 in which i need to run.. The application is PPPoE application. But when i type ./go for it.. it shows that i need a "C" Compiler.. but i am not sure when to get the "C" Compiler. The error message is at below: checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Thanks. |
download and install "gcc".
|
It sounds like you need to get a C compiler installed on the machine. Go to:
http://gcc.gnu.org/ and that should have all the info that you need! Good luck! Calluminsky |
I have the same problem on Suse 9.1
I downloaded the gcc 3.3.3-41 and it wants binutils_and_glibc-devel to work. I downloaded binutils 2.14.90.0.5-47 and glibc-devel 2.3.2-92 and then the horror! conflict, missing, conflict. :-( |
whenever possible... use the compiler that came with your distro !
that way all the versions will be matced and compatable. ive never known a distro without a compiler. all the dependency's will also be on the CD. |
problem with downloading a compiler, you get the source most times... meaning you would have to compile the compiler... :D
Most distros though, come with a compiler, with exception of SuSE 9.1 Personal. If your distro does come with a compiler, I would suggest looking to the install disks about getting your compiler installed properly. |
Hi..
I have download the GCC but now come another problem. It need to set a CC compiler.. *** The command 'gcc -o conftest -g -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler.. I have surf thru the net and find out i need to install the binaries for it... which i have done so.. but still required me to set the environment variable.. So how do we set the environment variable? Thanks a lot and take ur precious to teach this newbie. |
in bash:
CC=<path to gcc executable>; export CC Another thing you can do is edit the Makefile so that if oyu are using a separate compiler, the necessary compiler variables point to actuall binaries, rather than standard GCC binaries. |
Quote:
|
path to GCC?? u meant the dir? is it in the package of GCC that i have download? or is it installed in my linux?
|
Quote:
<path-to-gcc> means the path to the binary, or executable program. Doing which gcc in a console will supply you with the right path. |
erm.. it seems that i can't find the excutable file.. is it GCC.H??
|
Quote:
|
is alright.. i try to search for it again.. and if i need further help.... i will just come back here.. thanks a lot..
|
I have find that fedora 2 got GCC installed on it.. but when i type ./go.sh for the application that i wan to installed. Error msg come out stating: checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables. |
All times are GMT -5. The time now is 05:10 PM. |