Re: [DOCS] Added links to the release notes

2006-10-11 Thread Simon Riggs
On Fri, 2006-10-06 at 23:21 -0400, Bruce Momjian wrote:
> I have added links from the 8.2 release notes into our documentation.
> If people have additions/changes, please let me know.

Very cool.

-- 
  Simon Riggs 
  EnterpriseDB   http://www.enterprisedb.com


---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


[DOCS] Build man pages: unkown SDATA

2006-10-11 Thread Mark Kirkwood

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,  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


---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [DOCS] Build man pages: unkown SDATA

2006-10-11 Thread Peter Eisentraut
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,  line 10730.
> make: *** [man] Error 9

You need a more recent version of docbook2man-spec.pl.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faq


Re: [DOCS] Build man pages: unkown SDATA

2006-10-11 Thread Mark Kirkwood

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,  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

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


Re: [DOCS] Build man pages: unkown SDATA

2006-10-11 Thread Mark Kirkwood

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,  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


---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster