Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ter6w-0007Pu-FB for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 17:44:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Ter6v-0002uI-KH for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 17:44:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ter6u-0002uC-SA for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 17:44:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ter6t-0003Mm-0T for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 17:44:16 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qB1HiCDi017098; Sat, 1 Dec 2012 12:44:12 -0500 (EST) From: Tom Lane To: cedric@2ndquadrant.com cc: pgsql-bugs@postgresql.org Subject: Re: extension installation faillure using VPATH and MODULEDIR In-reply-to: <201212011513.53770.cedric@2ndquadrant.com> References: <201212011513.53770.cedric@2ndquadrant.com> Comments: In-reply-to =?iso-8859-1?q?C=E9dric_Villemain?= message dated "Sat, 01 Dec 2012 15:13:49 +0100" Date: Sat, 01 Dec 2012 12:44:12 -0500 Message-ID: <17097.1354383852@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org =?iso-8859-1?q?C=E9dric_Villemain?= 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