LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error message when doing ./configure (https://www.linuxquestions.org/questions/linux-newbie-8/error-message-when-doing-configure-208640/)

geran 07-23-2004 04:29 AM

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.

Frustin 07-23-2004 04:59 AM

download and install "gcc".

calluminsky 07-23-2004 05:00 AM

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

ioannisss 07-23-2004 10:26 AM

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. :-(

qwijibow 07-23-2004 10:53 AM

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.

enygma 07-23-2004 12:07 PM

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.

geran 07-23-2004 01:05 PM

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.

enygma 07-23-2004 01:44 PM

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.

Corona4456 07-23-2004 02:13 PM

Quote:

Originally posted by enygma
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.

export CC=<path to gcc> will work as well

geran 07-23-2004 05:07 PM

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?

mugstar 07-23-2004 05:16 PM

Quote:

Originally posted by Corona4456
export CC=<path to gcc> will work as well
They'll both work, but the environment variable will AFAIR only be set temporarily by these methods and will be lost when you logout / reboot. To permanently set it, you could edit /etc/profile (as root) and add either of the above commands.

<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.

geran 07-23-2004 05:57 PM

erm.. it seems that i can't find the excutable file.. is it GCC.H??

Corona4456 07-23-2004 06:35 PM

Quote:

Originally posted by geran
erm.. it seems that i can't find the excutable file.. is it GCC.H??
nope it should just be gcc ... no extension. You might not have it. Do a search for gcc binary on google and you should be able to find it somewhere. Fedora should have a package somewhere which includes gcc and g++.

geran 07-23-2004 06:36 PM

is alright.. i try to search for it again.. and if i need further help.... i will just come back here.. thanks a lot..

geran 07-23-2004 07:03 PM

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.