Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDVXo-0003bV-9m for pgsql-docs@arkaria.postgresql.org; Fri, 19 Oct 2018 14:14:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDVXm-0005vd-2a for pgsql-docs@arkaria.postgresql.org; Fri, 19 Oct 2018 14:14:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDVXl-0005vW-TD for pgsql-docs@lists.postgresql.org; Fri, 19 Oct 2018 14:14:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDVXj-00080h-Mk for pgsql-docs@lists.postgresql.org; Fri, 19 Oct 2018 14:14:25 +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 w9JEEKkF032156; Fri, 19 Oct 2018 10:14:20 -0400 From: Tom Lane To: GPT cc: pgsql-docs@lists.postgresql.org Subject: Re: Doc creation failed (v10.5 & 11) In-reply-to: References: Comments: In-reply-to GPT message dated "Fri, 19 Oct 2018 14:06:30 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32154.1539958460.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 19 Oct 2018 10:14:20 -0400 Message-ID: <32155.1539958460@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk GPT writes: > I have followed the following steps but I have failed to create the > doc for PG11. > cd .../postgresql-11 > ./configure > cd ../postgresql-11/doc/src/sgml The above seems a bit confused. Are you trying to do a VPATH build? If so, you need to run configure in the build tree, not the source tree. That is, I'd have expected something more like cd ...buildtree... ../sourcetree/configure cd doc/src/sgml > make check You probably want "make" or "make all"; "make check" won't actually build anything. However, that's not related to this problem: > I get the following error: > make: *** No rule to make target '/configure', needed by 'version.sgml'.= Stop. Looking at the makefile, it's clear that $(top_srcdir) is expanding to empty. I'm not quite seeing how Makefile.global would end up doing that, but perhaps it's confused about vpath vs regular build. Another theory is that configure went wrong somehow and inserted bogus values into Makefile.global; was there any sign of distress while running configure? regards, tom lane