On Tue, Jan 21, 2014 at 11:49 PM, Devrim GÜNDÜZ <devrim@xxxxxxxxxx> wrote:
Hi,
Sometimes exporting PG_CONFIG does the trick. Alternatively, while
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
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
(253) 245-3801
learn more about AGENCY or
follow the discussion.