Re: configure: error: no acceptable C compiler found in $PATH - Mailing list pgsql-admin

From Peter J. Holzer
Subject Re: configure: error: no acceptable C compiler found in $PATH
Date
Msg-id 20150625080309.GH3292@hjp.at
Whole thread Raw
In response to configure: error: no acceptable C compiler found in $PATH  (naveen kumar <mnaveendba2@gmail.com>)
Responses Re: configure: error: no acceptable C compiler found in $PATH
List 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@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@hjp.at         | that actually fit.
__/   | http://www.hjp.at/ |   -- http://noncombatant.org/

Attachment

pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: Re: Trying to change the owner of some tables
Next
From: Guillaume Lelarge
Date:
Subject: Re: Trying to change the owner of some tables