Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
C Compiler cannot create executables? Configure Error?
Ok, I've run into some errors that are a little more than troublesome.
I am very new to the Linux world (Red Hat 8.0 kernal 2.4.18-14 I think) and would like to be able to use this system but when trying to install almost anything I get numerous error messages trying to configure.
I took this from the config.log file:
configure:559: checking for a BSD compatible install
configure:612: checking whether build environment is sane
configure:669: checking whether make sets ${MAKE}
configure:715: checking for working aclocal
configure:728: checking for working autoconf
configure:741: checking for working automake
configure:754: checking for working autoheader
configure:767: checking for working makeinfo
configure:785: checking for gcc
configure:815: checking for cc
during running ./configure gives me these errors.
It says that aclocal thru autoheader is missing
and gcc isn't there and niether is cc.
One site said a solution to this would be to run:
CC="cc_name" ./configure
but that gave me:
configure: error: intallation or configuration problem: C compiler cannot create executables.
So, Where do I begin. Do I need to download and install GCC or do I need to get my hands on autoconf first?
And in Either case what do I do with them.
Remember I don't know what the hell I'm doing. I've only just installed Red Hat 8.0 less than a week ago.
Did you run a standard RH8 install? In that case, the dev. tools aren't installed by default. If you install them manually from the installation CDs, it might work. If not, just check back here again.
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe