This is reply to o_O Tync - sorry for abusing answers, but I can't format comment to answer.
So, i got your archive, unpacked and overwritten /etc/xml, /usr/share/xml and /usr/share/xml-core with what you provided.
configure still returns:
checking tcl.h presence... yes
checking for tcl.h... yes
checking for onsgmls... onsgmls
checking for openjade... no
checking for jade... jade
checking for DocBook V4.2... no
checking for DocBook stylesheets... no
checking for collateindex.pl... no
checking for xsltproc... xsltproc
checking for osx... osx
checking if gcc supports -Wl,--as-needed... yes
from config.log:
configure:27945: checking for jade
configure:27961: found /usr/bin/jade
configure:27972: result: jade
configure:27984: checking for DocBook V4.2
onsgmls:/etc/xml/catalog:2:61:E: name expected
onsgmls:/etc/xml/catalog:2:18:E: cannot find "PUBLIC"; tried "/etc/xml/PUBLIC", "/usr/share/sgml/PUBLIC", "/usr/share/xml/PUBLIC"
configure:28013: result: no
configure:28019: checking for DocBook stylesheets
configure:28058: result: no
configure:28112: checking for collateindex.pl
configure:28145: result: no
I even tried make html in src/sgml directory, and all i got was a long list of errors, starting with:
=> make html
make -C sgml html
make[1]: Entering directory `/home/pgdba/src/pgsql/doc/src/sgml'
{ \
echo "<!entity version \"8.5devel\">"; \
echo "<!entity majorversion \"8.5\">"; \
} >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
jade -wall -wno-unused-param -wno-empty -wfully-tagged -D . -D . -d stylesheet.dsl -t sgml -i output-html -V html-index postgres.sgml
jade:E: unknown warning type "fully-tagged"
jade:postgres.sgml:3:55:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.2//EN"
jade:postgres.sgml:12:0:E: reference to entity "BOOK" for which no system identifier could be generated
jade:postgres.sgml:3:0: entity was defined here
jade:postgres.sgml:12:0:E: DTD did not contain element declaration for document type name
jade:postgres.sgml:14:9:E: there is no attribute "ID"
jade:postgres.sgml:14:19:E: element "BOOK" undefined
jade:postgres.sgml:15:7:E: element "TITLE" undefined
jade:postgres.sgml:17:10:E: element "BOOKINFO" undefined
jade:postgres.sgml:18:13:E: element "CORPAUTHOR" undefined
jade:postgres.sgml:19:14:E: element "PRODUCTNAME" undefined
jade:postgres.sgml:20:16:E: element "PRODUCTNUMBER" undefined
then i tried the same, but with first defining:
export DOCBOOKSTYLE=/usr/share/sgml/docbook-sgml-4.2
as it was suggested on pg list.
effect:
checking for tcl.h... yes
checking for onsgmls... onsgmls
checking for openjade... no
checking for jade... jade
checking for DocBook V4.2... no
checking for DocBook stylesheets... /usr/share/sgml/docbook-sgml-4.2
checking for collateindex.pl... no
checking for xsltproc... xsltproc
checking for osx... osx
checking if gcc supports -Wl,--as-needed... yes
same error in config.log
when building html i got:
=> make html 2>&1 | more
make -C sgml html
make[1]: Entering directory `/home/pgdba/src/pgsql/doc/src/sgml'
jade -wall -wno-unused-param -wno-empty -wfully-tagged -D . -D . -c /usr/share/sgml/docbook-sgml-4.2/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index postgres.sgml
jade:E: unknown warning type "fully-tagged"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:57:65:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:63:66:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:69:60:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:75:67:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:81:58:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:87:59:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:93:50:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:99:46:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:105:50:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:111:47:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:117:43:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Greek Letters//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:123:46:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:129:43:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Greek Symbols//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:135:55:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:141:43:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Latin 1//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:147:43:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Added Latin 2//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:153:57:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:159:40:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES Publishing//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:165:47:W: cannot generate system identifier for public text "ISO 8879:1986//ENTITIES General Technical//EN"
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:308:8:E: reference to entity "ISOamsa" for which no system identifier could be generated
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:56:0: entity was defined here
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:312:8:E: reference to entity "ISOamsb" for which no system identifier could be generated
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:62:0: entity was defined here
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:316:8:E: reference to entity "ISOamsc" for which no system identifier could be generated
jade:/usr/share/sgml/docbook-sgml-4.2/dbcentx.mod:68:0: entity was defined here
and so on...