Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTw97-0006QS-Gs for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Jun 2018 21:20:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fTw95-0000ZD-TW for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Jun 2018 21:20:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTw95-0000Z4-JN for pgsql-bugs@lists.postgresql.org; Fri, 15 Jun 2018 21:20:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTw91-0003qW-UC for pgsql-bugs@lists.postgresql.org; Fri, 15 Jun 2018 21:20:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w5FLKLCI004395; Fri, 15 Jun 2018 17:20:21 -0400 From: Tom Lane To: mario@emmenlauer.de cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15243: make check shows errors, i.e. fails to find initdb and others In-reply-to: <152909641546.24805.8885344016984874263@wrigleys.postgresql.org> References: <152909641546.24805.8885344016984874263@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Fri, 15 Jun 2018 21:00:15 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4393.1529097621.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Jun 2018 17:20:21 -0400 Message-ID: <4394.1529097621@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?utf-8?q?PG_Bug_reporting_form?=3D writes: > I tried my first build of PostgreSQL 10.4 on Ubuntu Linux 16.04 today. T= he > build worked out of the box. However `make check` fails. I am under the > impression that it tries a "strange" path to search for build-time binar= ies. > But I'm not experienced enough to figure out why. It's hard for someone else to be sure either. What "make check" is supposed to do is create a temporary installation under ...sourcedir.../tmp_install/, so this: > PATH=3D"/tmp/Debug/Shared/postgresql-10.4/tmp_install/thirdparty/Debug/S= hared/bin:$PATH" looks correct if your PG source is in /tmp/Debug/Shared/postgresql-10.4/ and the configured real installation path is /thirdparty/Debug/Shared/. You confirmed the latter but not the former. > In /tmp/Debug/Shared/postgresql-10.4/src/test/regress/log/initdb.log the= re > is just a short message saying that initdb was not found. This suggests that the temp installation failed to be made, but you did not show us the part of the make log where that should've happened; it'd be before this extract, of course. Also, were you trying a VPATH build, or just build-in-source-tree? That affects where this stuff would end up. regards, tom lane