Thread: error making man docs

error making man docs

From
Andrew Dunstan
Date:
RH8, cvs tip. I get this:

[andrew@alphonso src]$ make man.tar.gz 
D2MDIR=/usr/share/sgml/docbook/utils-0.6.11/helpers
make -C sgml man
make[1]: Entering directory `/home/andrew/foo/pgsql/doc/src/sgml'
{ \ echo "<!entity version \"7.4beta1\">"; \ echo "<!entity majorversion \"`expr 7.4beta1 : 
'\([0-9][0-9]*\.[0-9][0-9]*\)'`\">"; \
} >version.sgml
/usr/bin/perl ./mk_feature_tables.pl YES 
../../../src/backend/catalog/sql_feature_packages.txt 
../../../src/backend/catalog/sql_features.txt > features-supported.sgml
/usr/bin/perl ./mk_feature_tables.pl NO 
../../../src/backend/catalog/sql_feature_packages.txt 
../../../src/backend/catalog/sql_features.txt > features-unsupported.sgml
onsgmls  postgres.sgml | sgmlspl 
/usr/share/sgml/docbook/utils-0.6.11/helpers/docbook2man-spec.pl 
--lowercase --section l --date "`date '+%Y-%m-%d'`"
Unknown SDATA: [pi    ] at 
/usr/share/sgml/docbook/utils-0.6.11/helpers/docbook2man-spec.pl line 
1219, <STDIN> line 100883.
make[1]: *** [man] Error 25
make[1]: Leaving directory `/home/andrew/foo/pgsql/doc/src/sgml'
make: *** [man.tar] Error 2
[andrew@alphonso src]$

If I don't define D2MDIR it tells me it can't find the script (should it 
be looked for in configure, or supplied?).

cheers

andrew






Re: error making man docs

From
Peter Eisentraut
Date:
Andrew Dunstan writes:

> ../../../src/backend/catalog/sql_feature_packages.txt
> ../../../src/backend/catalog/sql_features.txt > features-unsupported.sgml
> onsgmls  postgres.sgml | sgmlspl
> /usr/share/sgml/docbook/utils-0.6.11/helpers/docbook2man-spec.pl
> --lowercase --section l --date "`date '+%Y-%m-%d'`"
> Unknown SDATA: [pi    ] at

Maybe you want to try out a newer version.  It's at 0.8.2 now.

> If I don't define D2MDIR it tells me it can't find the script

Indeed; you need to tell it where it is.

-- 
Peter Eisentraut   peter_e@gmx.net