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

From: naveen kumar <mnaveendba2(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: configure: error: no acceptable C compiler found in $PATH
Date: 2015-06-24 16:34:48
Message-ID: CADye41+f8kzHdu6uUnm135x3TRE5L1w=AG0VoLZB02Z3G8HYxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello All,

Im stuck with below error while installing postgresql-9.3.9.

PostgreSQL version: 9.3.9

Operating system: Ubuntu 12.04.5

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

Details :root(at)nkumar: /usr/local/src/postgresql-9.3.9# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
checking for WAL segment size... 16MB
checking for gcc... no
checking for cc... no
configure: error: in `/usr/local/src/postgresql-9.3.9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

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

Thanks & Regards,
M Naveen Kuamr,
PostgreSQL Database Administrator,
Mobile Number: +91 7755929449.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message John Scalia 2015-06-24 16:39:21 Re: configure: error: no acceptable C compiler found in $PATH
Previous Message Gilberto Castillo 2015-06-24 16:17:41 Re: Replication broken. Stale data in slave Database