From: <ro...@ub...> - 2001-12-27 18:59:30
|
On Thu, Dec 27, 2001 at 05:03:40PM +0100, Christopher Arndt wrote: > On Wed, 26 Dec 2001, Jos=E9 Romildo Malaquias wrote: >=20 > This is probably because you don't have the DocBook XML DTD installed. I believe I have it: $ rpm -ql docbook-dtd41-xml /usr/share/doc/docbook-dtd41-xml-1.0 /usr/share/doc/docbook-dtd41-xml-1.0/40chg.txt /usr/share/doc/docbook-dtd41-xml-1.0/41chg.txt /usr/share/doc/docbook-dtd41-xml-1.0/readme.txt /usr/share/sgml/docbook/xml-dtd-4.1 /usr/share/sgml/docbook/xml-dtd-4.1/calstblx.dtd /usr/share/sgml/docbook/xml-dtd-4.1/catalog /usr/share/sgml/docbook/xml-dtd-4.1/dbcentx.mod /usr/share/sgml/docbook/xml-dtd-4.1/dbgenent.ent /usr/share/sgml/docbook/xml-dtd-4.1/dbhierx.mod /usr/share/sgml/docbook/xml-dtd-4.1/dbnotnx.mod /usr/share/sgml/docbook/xml-dtd-4.1/dbpoolx.mod /usr/share/sgml/docbook/xml-dtd-4.1/docbookx.dtd /usr/share/sgml/docbook/xml-dtd-4.1/soextblx.dtd $ rpm -ql docbook-dtd412-xml /usr/share/doc/docbook-dtd412-xml-1.0 /usr/share/doc/docbook-dtd412-xml-1.0/40chg.txt /usr/share/doc/docbook-dtd412-xml-1.0/41chg.txt /usr/share/doc/docbook-dtd412-xml-1.0/ChangeLog /usr/share/doc/docbook-dtd412-xml-1.0/readme.txt /usr/share/sgml/docbook/xml-dtd-4.1.2 /usr/share/sgml/docbook/xml-dtd-4.1.2/calstblx.dtd /usr/share/sgml/docbook/xml-dtd-4.1.2/catalog /usr/share/sgml/docbook/xml-dtd-4.1.2/dbcentx.mod /usr/share/sgml/docbook/xml-dtd-4.1.2/dbgenent.mod /usr/share/sgml/docbook/xml-dtd-4.1.2/dbhierx.mod /usr/share/sgml/docbook/xml-dtd-4.1.2/dbnotnx.mod /usr/share/sgml/docbook/xml-dtd-4.1.2/dbpoolx.mod /usr/share/sgml/docbook/xml-dtd-4.1.2/docbook.cat /usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd /usr/share/sgml/docbook/xml-dtd-4.1.2/ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsa.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsb.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsc.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsn.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amso.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-amsr.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-box.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-cyr1.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-cyr2.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-dia.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-grk1.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-grk2.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-grk3.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-grk4.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat1.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-lat2.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-num.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-pub.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/ent/iso-tech.ent /usr/share/sgml/docbook/xml-dtd-4.1.2/soextblx.dtd =20 > Installing DocBook can be very complicated, especially if you have an > older Distribution. Furthermore you have to install xsltproc from > libxslt, which I also never managed on my heavily updated Mandrake 7.1 > system (it doesn't compile cleanly). $ rpm -ql libxslt | grep -i xsltproc /usr/bin/xsltproc /usr/share/doc/libxslt-1.0.7/xsltproc.html /usr/share/doc/libxslt-1.0.7/xsltproc2.html /usr/share/man/man1/xsltproc.1.gz These packages come standard with RedHat Linux 7.2. It should work. > Maybe some explanations how to build the documentation from source woul= d > be useful in the ROX docs? Certainly it would be useful. I have just asked for help because I do not know much about XML and DocBook. And once the utilities are installed and configured, compilation of the Rox documentation should compile out of the box, shouldn't it? Any further thoughts? > > In an attempt to build the documentation for Rox 1.1.9 I get the > > following errors running make in the documentation source directory: > >=20 > > $ cd rox-1.1.9/ROX-Filer/src/Docs > > $ make > > nsgmls -s -wxml /usr/lib/sgml/declaration/xml.decl Manual.xml > > nsgmls:E: cannot open "/usr/lib/sgml/declaration/xml.decl" (No suc= h file or directory) > > nsgmls:Manual.xml:5:60:E: cannot open "/usr/share/sgml/docbook/dtd= /xml/4.1.2/docbookx.dtd" (No such file or directory) > > nsgmls:Manual.xml:5:60:E: DTD did not contain element declaration = for document type name > > nsgmls:Manual.xml:7:5:E: element "BOOK" undefined > > nsgmls:Manual.xml:8:9:E: element "BOOKINFO" undefined > > nsgmls:Manual.xml:9:8:E: element "TITLE" undefined > > nsgmls:Manual.xml:11:15:E: there is no attribute "URL" > > nsgmls:Manual.xml:11:43:E: element "ULINK" undefined > > nsgmls:Manual.xml:12:9:E: end tag for "ULINK" omitted, but OMITTAG= NO was specified > > nsgmls:Manual.xml:11:4: start tag was here > > nsgmls:Manual.xml:13:9:E: element "AUTHOR" undefined > > [...] > > nsgmls:Manual.xml:443:16:E: element "TGROUP" undefined > > nsgmls:I: maximum number of errors (200) reached; change with -E o= ption > > make: *** [Manual.valid] Error 1 > >=20 > > in my RedHat Linux 7.2 with upgrades system. Any clues? > >=20 > > Regards, > >=20 > > Romildo Romildo --=20 Prof. Jos=E9 Romildo Malaquias Departamento de Computa=E7=E3= o http://iceb.ufop.br/~romildo Universidade Federal de Ouro Preto ro...@ic... Brasil ro...@ub... |