From: Tom Lane <tgl@sss.pgh.pa.us>
To: cedric@2ndquadrant.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: extension installation faillure using VPATH and MODULEDIR
Date: Sat, 01 Dec 2012 12:44:12 -0500
Message-ID: <17097.1354383852@sss.pgh.pa.us> (raw)
In-Reply-To: <201212011513.53770.cedric@2ndquadrant.com>
References: <201212011513.53770.cedric@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
=?iso-8859-1?q?C=E9dric_Villemain?= <cedric@2ndquadrant.com> writes:
> the attached patch fix the extension installation using a VPATH when a
> MODULEDIR is defined in the extension Makefile.
> The current issue is that the sharedir/extension directory is not created if
> MODULEDIR != 'extension' i.e. MODULEDIR is defined in the Makefile. Thus 'make
> install' fail to copy the control file in an nonexistent directory.
[ scratches head ... ] What's this have to do with VPATH?
I see the point that if EXTENSION is set, and a nondefault MODULEDIR is
selected, the "install" target puts the control file into the extension
subdirectory which hasn't been made by installdirs. But that seems not
connected to VPATH builds.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, cedric@2ndquadrant.com
Subject: Re: extension installation faillure using VPATH and MODULEDIR
In-Reply-To: <17097.1354383852@sss.pgh.pa.us>
References: <201212011513.53770.cedric@2ndquadrant.com> <17097.1354383852@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox