Обсуждение: DocBook 4.2 detecting at configure time
Hi! I am using FreeBSD 5.4. There are installed: docbook-4.2 V4.2 of the DocBook DTD, designed for technical documentati docbook-sk-4.1.2_3 XML version of the DocBook DTD version controlled for Scrol docbook-xml-4.2_1 XML version of the DocBook DTD docbook-xsl-1.69.1 XSL DocBook stylesheets dsssl-docbook-modular-1.79,1 DSSSL stylesheets for the DocBook DTD by Norman Walsh sdocbook-xml-4.1.2.5_2 "Simplified" DocBook XML DTD jade-1.2.1_9 An object-oriented SGML/XML parser toolkit and DSSSL engine OpenSP-1.5_6 This package is a collection of SGML/XML tools called OpenSP I have changed configure command. Currently I issue command: SGML_CATALOG_FILES=/usr/local/share/xml/docbook/4.2/docbook.cat ./configure --prefix=/usr/local/pgsql --enable-depend --enable-nls --enable-integer-datetimes --with-openssl --with-pam --enable-thread-safety --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-perl --with-python --with-tcl --with-tclconfig=/usr/local/lib/tcl8.4 2>&1 > sci-pgsql.log I got the following: .... checking for onsgmls... onsgmls checking for openjade... no checking for jade... jade checking for DocBook V4.2... no checking for DocBook stylesheets... /usr/local/share/sgml/docbook/dsssl/modular checking for collateindex.pl... /usr/local/share/sgml/docbook/dsssl/modular/bin/collateindex.pl checking for sgmlspl... no .... and in file config.log: .... configure:22300: checking for DocBook V4.2 onsgmls:conftest.sgml:1:54:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.2//EN" onsgmls:conftest.sgml:1:54:E: reference to entity "BOOK" for which no system ide ntifier could be generated onsgmls:conftest.sgml:1:0: entity was defined here onsgmls:conftest.sgml:1:54:E: DTD did not contain element declaration for docume nt type name onsgmls:conftest.sgml:2:5:E: element "BOOK" undefined onsgmls:conftest.sgml:3:7:E: element "TITLE" undefined onsgmls:conftest.sgml:4:9:E: element "CHAPTER" undefined onsgmls:conftest.sgml:5:8:E: element "TITLE" undefined onsgmls:conftest.sgml:6:9:E: element "SECT1" undefined onsgmls:conftest.sgml:7:10:E: element "TITLE" undefined onsgmls:conftest.sgml:8:9:E: element "PARA" undefined configure:22329: result: no .... How it can be fixed? Best regards, Oleg Golovanov Equant LLC
"Oleg Golovanov" <o.golovanov@equant.ru> writes: > I have changed configure command. Currently I issue command: > SGML_CATALOG_FILES=/usr/local/share/xml/docbook/4.2/docbook.cat Are you sure that's the place to look? On my machine the appropriate stuff is under .../share/sgml/, not /xml/. > configure:22300: checking for DocBook V4.2 > onsgmls:conftest.sgml:1:54:W: cannot generate system identifier for > public text > "-//OASIS//DTD DocBook V4.2//EN" The catalog file you point to needs to have a publicId item for that name, for instance on my machine I find <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="xml-dtd-4.2-1.0-30/docbookx.dtd"/> in /usr/share/sgml/docbook/xmlcatalog regards, tom lane
Am Dienstag, 20. Juni 2006 09:29 schrieb Oleg Golovanov: > I have changed configure command. Currently I issue command: > SGML_CATALOG_FILES=/usr/local/share/xml/docbook/4.2/docbook.cat Replace that by /usr/local/share/sgml/docbook/4.2/docbook.cat. -- Peter Eisentraut http://developer.postgresql.org/~petere/
Of cause I had probed it already - with command: SGML_CATALOG_FILES=/usr/local/share/sgml/docbook/4.2/docbook.cat ./configure --prefix=/usr/local/pgsql --enable-depend --enable-nls --enable-integer-datetimes --with-openssl --with-pam --enable-thread-safety --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-perl --with-python --with-tcl --with-tclconfig=/usr/local/lib/tcl8.4 2>&1 > sci-pgsql.log And got the following ---- configure:22300: checking for DocBook V4.2 onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:308:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-amsa.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:312:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-amsb.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:316:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-amsc.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:320:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-amsn.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:324:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-amso.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:328:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-amsr.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:332:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-box.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:336:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-cyr1.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:340:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-cyr2.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:344:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-dia.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:348:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-grk1.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:352:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-grk2.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:356:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-grk3.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:360:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-grk4.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:364:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-lat1.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:368:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-lat2.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:372:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-num.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:376:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-pub.gml" (No such file or directory) onsgmls:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:380:0:E: cannot open "/usr /local/share/sgml/docbook/4.2/iso-tech.gml" (No such file or directory) configure:22329: result: no ---- Any other suggestions? Gratefully yours Oleg Golovanov Equant LLC Peter Eisentraut wrote: > Am Dienstag, 20. Juni 2006 09:29 schrieb Oleg Golovanov: > >> I have changed configure command. Currently I issue command: >> SGML_CATALOG_FILES=/usr/local/share/xml/docbook/4.2/docbook.cat >> > > Replace that by /usr/local/share/sgml/docbook/4.2/docbook.cat