public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: GPT <[email protected]>
Cc: [email protected]
Subject: Re: Doc creation failed (v10.5 & 11)
Date: Fri, 19 Oct 2018 10:14:20 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADep2PNE4Atj1GZf+rcDqYsObKBwCVO9dJ+_KZdqE5iVa6xvHQ@mail.gmail.com>
References: <CADep2PNE4Atj1GZf+rcDqYsObKBwCVO9dJ+_KZdqE5iVa6xvHQ@mail.gmail.com>

GPT <[email protected]> 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




view thread (3+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Doc creation failed (v10.5 & 11)
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox