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

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: configure: error: no acceptable C compiler found in $PATH
Date: 2015-06-25 08:03:09
Message-ID: 20150625080309.GH3292@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 2015-06-24 22:04:48 +0530, naveen kumar wrote:
> Im stuck with below error while installing postgresql-9.3.9.
>
> PostgreSQL version: 9.3.9
>
> Operating system:  Ubuntu 12.04.5

Is there a reason why you compile postgresql from source and don't use
the version which comes with Ubuntu?

> Description: configure: error: no acceptable C compiler found in $PATH 
[...]
> gcc is already installed, But still getting error. Can any one please help me.
>
> root(at)nkumar:/usr/local/src/postgresql-9.3.9# dpkg -l|grep gcc
>
> ii  gcc-4.6-base                     4.6.3-1ubuntu5                      GCC,
> the GNU Compiler Collection (base package)
> ii  libgcc1                          1:4.6.3-1ubuntu5                    GCC
> support library

Your list doesn't show gcc, it only shows gcc-*-base and libgcc*. Install
the package "gcc".

hp

--
_ | Peter J. Holzer | I want to forget all about both belts and
|_|_) | | suspenders; instead, I want to buy pants
| | | hjp(at)hjp(dot)at | that actually fit.
__/ | http://www.hjp.at/ | -- http://noncombatant.org/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2015-06-25 08:17:53 Re: Trying to change the owner of some tables
Previous Message Bhanu Gandikota 2015-06-25 06:19:45 Postgresql 9.3.9