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 1gDX82-0000fg-Bg for pgsql-docs@arkaria.postgresql.org; Fri, 19 Oct 2018 15:55:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDX7y-0008Gp-0w for pgsql-docs@arkaria.postgresql.org; Fri, 19 Oct 2018 15:55:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDX7x-0008Gi-Ne for pgsql-docs@lists.postgresql.org; Fri, 19 Oct 2018 15:55:53 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gDX7q-0002B1-Om for pgsql-docs@lists.postgresql.org; Fri, 19 Oct 2018 15:55:52 +0000 Received: by mail-io1-xd36.google.com with SMTP id q18-v6so1243703iod.5 for ; Fri, 19 Oct 2018 08:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Snm2GhvHgOrKILKTEOo1tWAJxGmwNUjKwRpdM3/Tk5Y=; b=FPwgpcd4jJj6tk69ehHfnm7xdYNs6j9peLVMN6mTUjnfSmLurBPVMeWJhPv1XMI3Ds 3q2ETbg3DSPNRGW1bZjeee/NzyacMhYPrtoaX8kdmUcu0aKS1YxCk4YBKX0P2/d8ngki JqLckjGoHl3sT9Tf3xDek2ByMod35RXfuoq/6U5e7BV6OnGUcB2PkqWQT7tdWnwv/u+Y tE44AS+EX71YftI6LOI4EScXWZos33Bd+Q4DIfdZrJjNf9CZzFFvxB8JnONfeJ2Jp7u6 QGcjPLY+8G3gj8PJxyrYxHIgWJMYM37O/ogEJki2nZ5DSKxF6BhZa9Gr/TyFqR+qzifX LOMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Snm2GhvHgOrKILKTEOo1tWAJxGmwNUjKwRpdM3/Tk5Y=; b=c7SlRnoqsarite4A/dGBhQPZORYt/J6wCjNXNAPeGpvKscJJOwJPDMk8QPD+a1dCmS b8eST6axmzCeKs9tsPHuC/k2VBEaJZxEXYm/3SOWc0uXIVk2mpyzz/e6mfpyHHw7kaw1 WrWPM1GJDTF+2sqsOh+CDT+AjWEE3eccvkIfY60GUUszyzPdkz5qc/yBgwuq2mPeV1jX 5hX/XyFLD+xfIuwTA2CkBCbW4x11xpXFphpBHKl3Pg+QSCu3o9K0WNHrSDr8+CoPiWUq FU5+3wqtiqu0yU2c8BNlQsV0r7NDvzrLRCUxrMhd47p11f5AAWBxEKCsDWRZbvRmaVCi +6eA== X-Gm-Message-State: AGRZ1gLCkjqG8zC0xw8gqeQTlJ+vGWjMT2/6FxAoa4Zc+UaKhzg4McCi hP5/xMNOpSqkcvbtEoumQcNGMVQewsckMU4LQ7w= X-Google-Smtp-Source: AJdET5cc1omNLmjAkqGw2f7SJbSm0mOPIzW+omCJ6/MYf4BtnigIJLrWd62+xc74uqrhcUHSk9zlvm1fEJ/oyC2ilio= X-Received: by 2002:a6b:cb03:: with SMTP id b3-v6mr440863iog.134.1539964544188; Fri, 19 Oct 2018 08:55:44 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:499c:0:0:0:0:0 with HTTP; Fri, 19 Oct 2018 08:55:43 -0700 (PDT) In-Reply-To: <32155.1539958460@sss.pgh.pa.us> References: <32155.1539958460@sss.pgh.pa.us> From: GPT Date: Fri, 19 Oct 2018 17:55:43 +0200 Message-ID: Subject: Re: Doc creation failed (v10.5 & 11) To: Tom Lane Cc: pgsql-docs@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, thanks for the response. First of all I am a simple user who likes reading only the different content of the manual every time a new version comes up. So, what I want to do is to create the pg11.html file, next pg11.text file to compare it with pg10.x.text file (pg.org unfortunately stopped providing text files). The method I have followed is the same with that I did for 10.3 & 10.4. But it didn't work for 10.5 and now for 11. What I get is: config.status: ... yes|ok|no|other (no warning, no error) ... sed: -e expression #1, char 404: unknown option to `s' config.status: creating src/Makefile.global (file size zero "0" ie empty!) sed: -e expression #1, char 420: unknown option to `s' ... config.status: ... (no warning, no error) I am trying to build only the html and text documentation files. I have been following the instructions given in "J.3. Building The Documentation". Please, if possible, advise accurate instructions for newbiees! Tia On 10/19/18, Tom Lane wrote: > 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 >