"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)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