Thread: BUG #1336: configure: error: no acceptable C compiler found in $PATH

BUG #1336: configure: error: no acceptable C compiler found in $PATH

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1336
Logged by:          Andres Velasquez

Email address:      BVaw@opera.com

PostgreSQL version: 7.4.6

Operating system:   Redhat 8

Description:        configure: error: no acceptable C compiler found in
$PATH

Details:

[root@Estacion10 pgsql]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... no
checking for cc... no
configure: error: no acceptable C compiler found in $PATH

help me please. in Spanish

Andres

Re: BUG #1336: configure: error: no acceptable C compiler found in $PATH

From
Tom Lane
Date:
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable C compiler found in $PATH

It looks like you don't have the gcc package installed.

If you didn't install gcc, then you probably also omitted the -devel
subpackages, which you are going to need some of to build Postgres
from source.  At least glibc-devel, not sure what else.

            regards, tom lane