pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-admin@postgresql.org
Subject: Re: configure: error: no acceptable C compiler found in $PATH
Date: Thu, 25 Jun 2015 10:03:09 +0200
Message-ID: <20150625080309.GH3292@hjp.at> (raw)
In-Reply-To: <CADye41+f8kzHdu6uUnm135x3TRE5L1w=AG0VoLZB02Z3G8HYxw@mail.gmail.com>
References: <CADye41+f8kzHdu6uUnm135x3TRE5L1w=AG0VoLZB02Z3G8HYxw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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/

Attachments:

  signature.asc (application/pgp-signature, 810B) download

view thread (7+ messages)  latest in thread

Message-ID: <20150625080309.GH3292@hjp.at>
Permalink:  ../20150625080309.GH3292@hjp.at/
Also on:    postgresql.org/message-id/20150625080309.GH3292@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: configure: error: no acceptable C compiler found in $PATH
  In-Reply-To: <20150625080309.GH3292@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox