Re: cannot find PGXS file when installing an extension?

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: p(dot)luzanov(at)postgrespro(dot)ru
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: cannot find PGXS file when installing an extension?
Date: 2018-11-02 12:38:45
Message-ID: CAKoxK+7=V5+5v_B8mCFRXabU5TNgC0C5hxPbjCOZ_qhahmFJMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 2, 2018 at 1:16 PM Luca Ferrari <fluca1978(at)gmail(dot)com> wrote:
>
> On Fri, Nov 2, 2018 at 12:46 PM Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru> wrote:
> >
> > Luca,
> >
> > 'sudo make install' command works in the environment of the superuser and most likely does not see pg_config utility .
> >
> > Specify the location of pg_config explicitly:
> > sudo make install PG_CONFIG=/opt/pg11/bin/pg_config
>
> No, it's not a path problem since I'm unable to run make even with my user:
>
> cleopatra% which pg_config && make
> /opt/pg11/bin/pg_config
> make: "/usr/home/luca/tmp/fluca/Makefile" line 5: Could not find
> make: Fatal errors encountered -- cannot continue
> make: stopped in /usr/home/luca/tmp/fluca
>

Shame on me!
I need to run 'gmake' on FreeBSD.
Sorry for the noise.

Luca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2018-11-02 13:21:37 Re: Working around, or with, bitmap heap scan?
Previous Message Rich Shepard 2018-11-02 12:28:58 Re: Add columns to table; insert values based on row