Re: DocBook 4.2 detecting at configure time

Lists: pgsql-adminpgsql-generalpgsql-ru-general
From: "Oleg Golovanov" <o(dot)golovanov(at)equant(dot)ru>
To: pgsql-general(at)postgresql(dot)org, pgsql-ru-general(at)postgresql(dot)org
Subject: DocBook 4.2 detecting at configure time
Date: 2006-06-20 07:29:42
Message-ID: 4497A3E6.6000909@equant.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-general pgsql-ru-general

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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Oleg Golovanov" <o(dot)golovanov(at)equant(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-ru-general(at)postgresql(dot)org
Subject: Re: DocBook 4.2 detecting at configure time
Date: 2006-06-20 14:11:51
Message-ID: 27683.1150812711@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-general pgsql-ru-general

"Oleg Golovanov" <o(dot)golovanov(at)equant(dot)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


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: "Oleg Golovanov" <o(dot)golovanov(at)equant(dot)ru>
Subject: Re: DocBook 4.2 detecting at configure time
Date: 2006-06-21 09:39:59
Message-ID: 200606211140.00370.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-general pgsql-ru-general

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/


From: "Oleg Golovanov" <o(dot)golovanov(at)equant(dot)ru>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Re: [GENERAL] DocBook 4.2 detecting at configure time
Date: 2006-06-21 10:01:44
Message-ID: 44991908.7080807@equant.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin Postg윈 토토SQL : Postg스포츠 토토 사이트SQL

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