RE: Compiling Software


Subject: RE: Compiling Software
From: Duane Murphy (duanemurphy@mac.com)
Date: Sun Dec 02 2001 - 13:04:00 MST


--- At Sun, 2 Dec 2001 07:41:55 -0500, Patrick Callahan wrote:

>On Saturday 01 December 2001 02:31, you wrote:
>> Just installed a bunch of packages so that I can complie this software. I
>> installed cpp,binutils,gcc,make,and automake. Here's the error I get. Am I
>> missing somthing?
>>
><snip>
>
>> checking for gcc... gcc
>> checking whether the C compiler (gcc ) works... no
>> configure: error: installation or configuration problem: C compiler cannot
>> create executables.
>I've seen that one before.
>
>You might want to take a look at the .configure script to see exactly why it
>is reporting that the c compiler cannot create executables.
>
>Just search for the error message in the script, and see what causes it to
>appear. Sometimes the answer to the problem will be obvious from reading
>the .configure script. Other times you'll have to puzzle it out.
>
>You might want to reply back to this message with what you find in the
>.configure script. I'd do this even if I found the answer.

The simplest answer I found when this happened was to write a short hello
world C program and try and compile it. Sure enough it couldnt be done.

It turns out that there is a host of RPMs that have to be installed. Some
that I wasnt sure of. In particular the one that I was missing was
kernel-headers. That just didnt sit right with me, but its needed by the
C compiler.

..Duane



This archive was generated by hypermail 2a24 : Sun Dec 02 2001 - 13:16:38 MST