Gurjeet Singh wrote:
> On Mon, Feb 4, 2013 at 2:38 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>wrote:
>
> > I just noticed that contrib programs don't build in USE_PGXS=1
> > environment:
> >
> > $ pwd
> > /pgsql/build/HEAD/contrib/pg_upgrade
> > $ LC_ALL=C USE_PGXS=1 make
> > make: *** No rule to make target `check.o', needed by `pg_upgrade'. Stop.
>
> FWIW, I am able to build just fine using USE_PGXS!
Hmm. Mine is a VPATH build; maybe that makes a difference. Now I'm not
really certain that pgxs is supposed to work for VPATH.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services