Re: Doc creation failed (v10.5 & 11) - Mailing list pgsql-docs

From Tom Lane
Subject Re: Doc creation failed (v10.5 & 11)
Date
Msg-id 32155.1539958460@sss.pgh.pa.us
Whole thread Raw
In response to Doc creation failed (v10.5 & 11)  (GPT <gptmailinglists@gmail.com>)
Responses Re: Doc creation failed (v10.5 & 11)  (GPT <gptmailinglists@gmail.com>)
List pgsql-docs
GPT <gptmailinglists@gmail.com> 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


pgsql-docs by date:

Previous
From: GPT
Date:
Subject: Doc creation failed (v10.5 & 11)
Next
From: GPT
Date:
Subject: Re: Doc creation failed (v10.5 & 11)