public inbox for [email protected]help / color / mirror / Atom feed
Build man pages: unkown SDATA 4+ messages / 2 participants [nested] [flat]
* Build man pages: unkown SDATA @ 2006-10-11 23:54 Mark Kirkwood <[email protected]> 0 siblings, 1 reply; 4+ messages in thread From: Mark Kirkwood @ 2006-10-11 23:54 UTC (permalink / raw) To: pgsql-docs I've been trying to build the man pages in 8.2, unfortunately I am seeing: $ make man ... onsgmls postgres.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl --lowercase --section l --date "`date '+%Y-%m-%d'`" Unknown SDATA: [mdash ] at /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl line 1239, <STDIN> line 10730. make: *** [man] Error 9 Doing a bit more hacking I find that the following will also cause this error: mdash, pi, uuml, ouml, egrave, quot, scaron, oslash Do I need to specifically point docbook2man-spec.pl at a certain stylesheet? Any ideas appreciated. Cheers Mark ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Build man pages: unkown SDATA @ 2006-10-12 00:47 Peter Eisentraut <[email protected]> parent: Mark Kirkwood <[email protected]> 0 siblings, 1 reply; 4+ messages in thread From: Peter Eisentraut @ 2006-10-12 00:47 UTC (permalink / raw) To: pgsql-docs; +Cc: Mark Kirkwood <[email protected]> Mark Kirkwood wrote: > $ make man > ... > onsgmls postgres.sgml | sgmlspl > /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl > --lowercase --section l --date "`date '+%Y-%m-%d'`" > Unknown SDATA: [mdash ] at > /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl line > 1239, <STDIN> line 10730. > make: *** [man] Error 9 You need a more recent version of docbook2man-spec.pl. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Build man pages: unkown SDATA @ 2006-10-12 01:14 Mark Kirkwood <[email protected]> parent: Peter Eisentraut <[email protected]> 0 siblings, 1 reply; 4+ messages in thread From: Mark Kirkwood @ 2006-10-12 01:14 UTC (permalink / raw) To: Peter Eisentraut <[email protected]>; +Cc: pgsql-docs Peter Eisentraut wrote: > Mark Kirkwood wrote: >> $ make man >> ... >> onsgmls postgres.sgml | sgmlspl >> /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl >> --lowercase --section l --date "`date '+%Y-%m-%d'`" >> Unknown SDATA: [mdash ] at >> /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl line >> 1239, <STDIN> line 10730. >> make: *** [man] Error 9 > > You need a more recent version of docbook2man-spec.pl. > Thanks Peter, I'll hunt one up - incidentally, both FreeBSD 6 and Gentoo 2006.1 use this same version of docbook-utils :-(, so it means going outside the ports/portage structures (pity). Cheers Mark ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Build man pages: unkown SDATA @ 2006-10-12 02:12 Mark Kirkwood <[email protected]> parent: Mark Kirkwood <[email protected]> 0 siblings, 0 replies; 4+ messages in thread From: Mark Kirkwood @ 2006-10-12 02:12 UTC (permalink / raw) To: Mark Kirkwood <[email protected]>; +Cc: Peter Eisentraut <[email protected]>; pgsql-docs Mark Kirkwood wrote: > Peter Eisentraut wrote: >> Mark Kirkwood wrote: >>> $ make man >>> ... >>> onsgmls postgres.sgml | sgmlspl >>> /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl >>> --lowercase --section l --date "`date '+%Y-%m-%d'`" >>> Unknown SDATA: [mdash ] at >>> /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl line >>> 1239, <STDIN> line 10730. >>> make: *** [man] Error 9 >> >> You need a more recent version of docbook2man-spec.pl. >> > Thanks Peter, I'll hunt one up - incidentally, both FreeBSD 6 and Gentoo > 2006.1 use this same version of docbook-utils :-(, so it means going > outside the ports/portage structures (pity). > Actually it doesn't (well not on Gentoo anyway). The docbook2X package has Thomas Lockhart's version of docbook2man-spec.pl, which works. Unfortunately there does not appear to be a port of this for Freebsd that I could find (I guess it is not that vital - can probably just copy the single file from the Gentoo package). So - bottom line is that docbook2X *not* docbook-utils (or docbook-sgml-utils) is the package required. The Pg documentation does actually say this (requires docbook2X for Linux), but I was confused by the lack of any such package on Freebsd (oops). One other point for those who wish to struggle with this - ./configure does not detect the -spec file, you need to set D2MDIR to where it lives (/usr/bin on this Gentoo dist) before trying to build the man pages. Cheers Mark ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2006-10-12 02:12 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2006-10-11 23:54 Build man pages: unkown SDATA Mark Kirkwood <[email protected]> 2006-10-12 00:47 ` Peter Eisentraut <[email protected]> 2006-10-12 01:14 ` Mark Kirkwood <[email protected]> 2006-10-12 02:12 ` Mark Kirkwood <[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