public inbox for [email protected]help / color / mirror / Atom feed
Doc creation failed (v10.5 & 11) 3+ messages / 2 participants [nested] [flat]
* Doc creation failed (v10.5 & 11) @ 2018-10-19 12:06 GPT <[email protected]> 2018-10-19 14:14 ` Re: Doc creation failed (v10.5 & 11) Tom Lane <[email protected]> 0 siblings, 1 reply; 3+ messages in thread From: GPT @ 2018-10-19 12:06 UTC (permalink / raw) To: [email protected] Hi, 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 make check I get the following error: make: *** No rule to make target '/configure', needed by 'version.sgml'. Stop. Any advice. Tia ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Doc creation failed (v10.5 & 11) 2018-10-19 12:06 Doc creation failed (v10.5 & 11) GPT <[email protected]> @ 2018-10-19 14:14 ` Tom Lane <[email protected]> 2018-10-19 15:55 ` Re: Doc creation failed (v10.5 & 11) GPT <[email protected]> 0 siblings, 1 reply; 3+ messages in thread From: Tom Lane @ 2018-10-19 14:14 UTC (permalink / raw) To: GPT <[email protected]>; +Cc: [email protected] 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 ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Doc creation failed (v10.5 & 11) 2018-10-19 12:06 Doc creation failed (v10.5 & 11) GPT <[email protected]> 2018-10-19 14:14 ` Re: Doc creation failed (v10.5 & 11) Tom Lane <[email protected]> @ 2018-10-19 15:55 ` GPT <[email protected]> 0 siblings, 0 replies; 3+ messages in thread From: GPT @ 2018-10-19 15:55 UTC (permalink / raw) To: Tom Lane <[email protected]>; +Cc: [email protected] 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 <[email protected]> wrote: > 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 > ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-10-19 15:55 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-19 12:06 Doc creation failed (v10.5 & 11) GPT <[email protected]> 2018-10-19 14:14 ` Tom Lane <[email protected]> 2018-10-19 15:55 ` GPT <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox