Re: pg_config problems on PG9.3/Centos?

From: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_config problems on PG9.3/Centos?
Date: 2014-01-22 08:04:49
Message-ID: CAD3a31V3mvQ5sfrL2z5v69Mh48zbpkXUKPLfQ4BML+PPRadTvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 21, 2014 at 11:49 PM, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> wrote:

>
> Hi,
>
> On Tue, 2014-01-21 at 18:00 -0800, Ken Tanzer wrote:
> > It didn't seem like a great idea to me either, but what's the better
> > alternative? Without the symlink I get lots of errors:
> >
> > make USE_PGXS=1
> > make: pg_config: Command not found
>
> Sometimes exporting PG_CONFIG does the trick. Alternatively, while
> building the RPMs, we add a patch to makefiles like this:
>
> http://svn.pgrpms.org/repo/rpm/redhat/9.3/ip4r/F-20/Makefile-pgxs.patch
>
>
Thanks, that works. I'm inferring that PG_CONFIG is a variable that needs
to be set? This seemingly similar piece of makefile doesn't work:

ifdef USE_PGXS
PGXS := $(shell /usr/pgsql-9.3/bin/pg_config --pgxs)
include $(PGXS)

Regards,
> --
> Devrim GÜNDÜZ
> Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
>
>
Cheers,
Ken

--
AGENCY Software
A Free Software data system
By and for non-profits
*http://agency-software.org/ <http://agency-software.org/>*
*https://agency-software.org/demo/client
<https://agency-software.org/demo/client>*
ken(dot)tanzer(at)agency-software(dot)org
(253) 245-3801

Subscribe to the mailing
list<agency-general-request(at)lists(dot)sourceforge(dot)net?body=subscribe>
to
learn more about AGENCY or
follow the discussion.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mikhail Pryakhin 2014-01-22 08:36:23 Frontend unexpectedly terminates connection
Previous Message Devrim GÜNDÜZ 2014-01-22 07:49:09 Re: pg_config problems on PG9.3/Centos?