Thread: NO acceptable C compiler found in the $PATH

NO acceptable C compiler found in the $PATH

From
Nikhil Saple
Date:
Hi team while installing postgresql I found this error saying No acceptable C compiler found in the $Path please assist how to proceed

Re: NO acceptable C compiler found in the $PATH

From
"David G. Johnston"
Date:
On Wed, Jan 13, 2021 at 6:32 AM Nikhil Saple <jnikhilsaple8@gmail.com> wrote:
Hi team while installing postgresql I found this error saying No acceptable C compiler found in the $Path please assist how to proceed

Install an acceptable C compiler?

Provide more details as to what you did and the makeup of your server environment (o/s, means of installation, etc.)

David J.

Re: NO acceptable C compiler found in the $PATH

From
Tom Lane
Date:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Wed, Jan 13, 2021 at 6:32 AM Nikhil Saple <jnikhilsaple8@gmail.com>
> wrote:
>> Hi team while installing postgresql I found this error saying No
>> acceptable C compiler found in the $Path please assist how to proceed

> Install an acceptable C compiler?

If the system lacks a C compiler then it likely also lacks a lot of
other infrastructure needed to build from the source-code distribution
(header files, libraries, etc etc).

Probably the OP would be better off to install a pre-built package.

            regards, tom lane