On Tue, Jan 21, 2014 at 11:49 PM, Devrim GÜNDÜZ <dev...@gunduz.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.tan...@agency-software.org
(253) 245-3801

Subscribe to the mailing
list<agency-general-requ...@lists.sourceforge.net?body=subscribe>
 to
learn more about AGENCY or
follow the discussion.

Reply via email to