Operating System - Linux
1748202 Members
3043 Online
108759 Solutions
New Discussion юеВ

Re: configure error no acceptable C compiler found in path in Red Hat

 
Steven Schweda
Honored Contributor

Re: configure error no acceptable C compiler found in path in Red Hat

> [...] they ask me to do:

Who are "they"?

> ./configure [...]

Ok. That is building Apache from a source
kit. To do that, you need a C compiler
(GCC), so you'll need to install that first.
Apache probably has many other prerequisites,
too, all of which you'll need to install,
too.

> [...] my original error stated above occurs.

You need to install GCC.

> This system is not registered with RHN.

If you expect to get this kind of service
from Red Hat, then you may need to pay for
it.
Viktor Balogh
Honored Contributor

Re: configure error no acceptable C compiler found in path in Red Hat

Hi,

If you only want to install apache you don't need to build it yourself from source. You can download a pre-compiled binary, which is much easier than compile it yourself.

Look for an apache binary rpm package, you can download it e.g. from here:

http://xenia.sote.hu/ftp/mirrors/www.apache.org//httpd/binaries/rpm/x86_64/

other links to binaries and the source:

http://httpd.apache.org/download.cgi#apache22

Regards,
Viktor
****
Unix operates with beer.
Steven Schweda
Honored Contributor

Re: configure error no acceptable C compiler found in path in Red Hat

> If you only want to install apache you
> don't need to build it yourself from
> source. [...]

Good luck with that argument. It didn't work
when I tried it (twice).

Did you look at his proposed "./configure"
options (with all the "--disable-*" options)?
I doubt that most available kits will have
been built with "--disable-cgi", for example.

Whether it's reasonable to expect such a
novice to build Apache from the source is a
different question. I don't think that
there's much hope, but what do I know?