pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cédric Villemain <cedric@2ndquadrant.com>
To: pgsql-bugs@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: extension installation faillure using VPATH and MODULEDIR
Date: Sat, 1 Dec 2012 20:33:38 +0100
Message-ID: <201212012033.44931.cedric@2ndquadrant.com> (raw)
In-Reply-To: <17097.1354383852@sss.pgh.pa.us>
References: <201212011513.53770.cedric@2ndquadrant.com>
	<17097.1354383852@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Le samedi 1 décembre 2012 18:44:12, Tom Lane a écrit :
> =?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.

I just hit the bug and though it was relative to VPATH because it was the main 
difference in my build. Obviously in my others scenariii the extension/ 
directory was pre-existent and I didn't notice the problem.

-- 
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation

Attachments:

  signature.asc (application/pgp-signature, 489B) download

view thread (4+ messages)  latest in thread

Message-ID: <201212012033.44931.cedric@2ndquadrant.com>
Permalink:  ../201212012033.44931.cedric@2ndquadrant.com/
Also on:    postgresql.org/message-id/201212012033.44931.cedric@2ndquadrant.com

 · 

reply

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: cedric@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: extension installation faillure using VPATH and MODULEDIR
  In-Reply-To: <201212012033.44931.cedric@2ndquadrant.com>
  References: <201212011513.53770.cedric@2ndquadrant.com> <17097.1354383852@sss.pgh.pa.us> <201212012033.44931.cedric@2ndquadrant.com>

* 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