PGXS on VPATH?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>, Fabien COELHO <fabien(at)coelho(dot)net>
Subject: PGXS on VPATH?
Date: 2005-11-02 13:07:11
Message-ID: 20051102130711.GB26495@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Is PGXS on VPATH builds supported? I was just testing tsearch2 and it
isn't working. Note that I'm first standing on the builddir and it
doesn't work; then I'm back at the srcdir and it does work.

07:02 jovan tsearch2 2$ pwd
/pgsql/build/00orig/contrib/tsearch2
07:02 jovan tsearch2 0$ LANG=C make USE_PGXS=1
make: *** No rule to make target `tsearch.sql.in', needed by `tsearch2.sql'. Stop.
07:02 jovan tsearch2 2$ cdsrc
07:02 jovan tsearch2 0$ pwd
/pgsql/source/00orig/contrib/tsearch2
07:02 jovan tsearch2 0$ LANG=C make USE_PGXS=1
sed -e 's,MODULE_PATHNAME,$libdir/tsearch2,g' tsearch.sql.in >tsearch2.sql
cp untsearch.sql.in untsearch2.sql
gcc -O2 -Wall -Wmissing-prototypes [...]

--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
"Changing the world ... one keyboard at a time!"
(www.DVzine.org)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-11-02 13:22:19 Re: Limit usage of tcop/dest.h
Previous Message Mike Rylander 2005-11-02 12:59:45 Re: Reducing the overhead of NUMERIC data