NO acceptable C compiler found in the $PATH

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

NO acceptable C compiler found in the $PATH

Nikhil Saple
Hi team while installing postgresql I found this error saying No acceptable C compiler found in the $Path please assist how to proceed
Reply | Threaded
Open this post in threaded view
|

Re: NO acceptable C compiler found in the $PATH

David G Johnston
On Wed, Jan 13, 2021 at 6:32 AM Nikhil Saple <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

Re: NO acceptable C compiler found in the $PATH

Tom Lane-2
"David G. Johnston" <[hidden email]> writes:
> On Wed, Jan 13, 2021 at 6:32 AM Nikhil Saple <[hidden email]>
> 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