From: <jc...@fe...> - 2003-03-14 15:17:21
|
Hi, What do I need to find the "DocBook DTD"? What is the contents of the top 5 lines of the file that defines that DTD? Thanks, Joao --------------On my suse-8.1: ------------------------- --enable-docbook \ --with-sgml-catalogs=/etc/sgml/catalog \ --with-xml-declaration=/usr/share/sgml/openjade/xml.dcl checking XML::DOM... yes checking XML::Parser... yes checking for openjade... found checking for jadetex... found checking for pdfjadetex... found checking for dvips... found checking for onsgmls... found checking for makeinfo... found checking DSSSL Style Sheet DTD... found checking DocBook HTML Stylesheet... found checking DocBook Print Stylesheet... found checking DocBook DTD... no <------------------------ checking XML::Parser::PerlSAX... yes checking XML::Writer... yes --------------- On a regular RH-8.0: ------------ --enable-docbook \ --with-sgml-catalogs=/etc/sgml/catalog \ --with-xml-declaration=/usr/share/sgml/xml.dcl checking XML::DOM... yes checking XML::Parser... yes checking for openjade... found checking for jadetex... found checking for pdfjadetex... found checking for dvips... found checking for onsgmls... found checking for makeinfo... found checking DSSSL Style Sheet DTD... found checking DocBook HTML Stylesheet... found checking DocBook Print Stylesheet... found checking DocBook DTD... no <------------------- checking XML::Parser::PerlSAX... yes checking XML::Writer... no <---------------------- |
From: Rafael L. <lab...@ps...> - 2003-03-14 15:46:43
|
Hi again, I am glad to learn that you are pretty close to get your system ready for building the Docbook documentation. * João Cardoso <jc...@fe...> [2003-03-14 15:15]: > What do I need to find the "DocBook DTD"? What is the contents of the > top 5 lines of the file that defines that DTD? The required DTD is specified in file doc/docbook/docbook.m4: DOCBOOK_DTD_PUBID="-//OASIS//DTD DocBook XML V4.1//EN" [ This reminds me that we should enforce version 4.2 instead of 4.1. ] This definition, in my Debian system, is provided by the docbook-xml package. To find the relevant file: $ dpkg -L docbook-xml \ | xargs fgrep -l -- "-//OASIS//DTD DocBook XML V4.1//EN" 2>/dev/null /usr/share/sgml/docbook/dtd/xml/4.1.2/docbook.cat Try to locate this file in your system or to install the appropriate rpm package. -- Rafael |
From: <jc...@fe...> - 2003-03-14 16:35:13
|
On Friday 14 March 2003 15:40, Rafael Laboissiere wrote: | Hi again, | | I am glad to learn that you are pretty close to get your system ready | for building the Docbook documentation. | | * Jo=E3o Cardoso <jc...@fe...> [2003-03-14 15:15]: | > What do I need to find the "DocBook DTD"? What is the contents of | > the top 5 lines of the file that defines that DTD? | | The required DTD is specified in file doc/docbook/docbook.m4: | | DOCBOOK_DTD_PUBID=3D"-//OASIS//DTD DocBook XML V4.1//EN" | | [ This reminds me that we should enforce version 4.2 instead of 4.1. If I replace V4.1 with V4.2 in doc/docbook/docbook.m4, and I use =20 =2D-with-sgml-catalogs=3D/usr/share/sgml/CATALOG.db42xml then the DTD is found. If I use V4.1 in doc/docbook/docbook.m4 and use=20 =2D-with-sgml-catalogs=3D/usr/share/sgml/CATALOG.db41xml Then the DTD is not found, as CATALOG.db41xml defines the V4.1.2 DTD What must I/you do? Joao | ] | | This definition, in my Debian system, is provided by the docbook-xml | package. To find the relevant file: | | $ dpkg -L docbook-xml \ | | | xargs fgrep -l -- "-//OASIS//DTD DocBook XML V4.1//EN" | | 2>/dev/null | | /usr/share/sgml/docbook/dtd/xml/4.1.2/docbook.cat | | Try to locate this file in your system or to install the appropriate | rpm package. |
From: Rafael L. <lab...@ps...> - 2003-03-14 17:03:58
|
* João Cardoso <jc...@fe...> [2003-03-14 16:33]: > If I replace V4.1 with V4.2 in doc/docbook/docbook.m4, and I use > > --with-sgml-catalogs=/usr/share/sgml/CATALOG.db42xml > > then the DTD is found. > > If I use V4.1 in doc/docbook/docbook.m4 and use > > --with-sgml-catalogs=/usr/share/sgml/CATALOG.db41xml > > Then the DTD is not found, as CATALOG.db41xml defines the V4.1.2 DTD > > What must I/you do? Nothing. I will change the DTD requierement to 4.2, as this is anyway the most appropriate thing to do. -- Rafael |
From: <jc...@fe...> - 2003-03-14 17:47:46
|
On Friday 14 March 2003 17:03, Rafael Laboissiere wrote: | * Jo=E3o Cardoso <jc...@fe...> [2003-03-14 16:33]: =2E.. | Nothing. I will change the DTD requierement to 4.2, as this is | anyway the most appropriate thing to do. Now the detection phase runs OK, and some docs are built, but I still=20 get an error: =2E.. openjade -c /etc/sgml/catalog -c /usr/share/sgml/CATALOG.db42xml -d=20 plplotdoc-html.dsl -t sgml \ /usr/share/sgml/openjade/xml.dcl plplotdoc.xml perl ../bin/info-clean.pl plplotdoc.xml > plplotdoc.xml-info ln -fs inline-info.ent inline.ent if perl -I/home/jcard/plplot/doc/docbook/perl=20 /home/jcard/plplot/doc/docbook/perl/docbook2texixml plplotdoc.xml-info=20 > plplotdoc.txml-tmp ; then \ mv plplotdoc.txml-tmp plplotdoc.txml ; \ else \ false ; \ fi undefined entity at line 230, column 44, byte 13897 at=20 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/XML/Parser.pm=20 line 185 make[4]: *** [plplotdoc.txml] Error 1 |
From: Rafael L. <lab...@ps...> - 2003-03-15 16:15:26
|
* João Cardoso <jc...@fe...> [2003-03-14 17:46]: > On Friday 14 March 2003 17:03, Rafael Laboissiere wrote: > | * João Cardoso <jc...@fe...> [2003-03-14 16:33]: > ... > | Nothing. I will change the DTD requierement to 4.2, as this is > | anyway the most appropriate thing to do. > > Now the detection phase runs OK, and some docs are built, but I still > get an error: > > [...] Cold you please test with the newest cvs sources? I just committed some changes that may (hopefully) fix this problem. -- Rafael |
From: Joao C. <jc...@fe...> - 2003-03-15 23:04:51
|
On Saturday 15 March 2003 16:15, Rafael Laboissiere wrote: > * Jo=E3o Cardoso <jc...@fe...> [2003-03-14 17:46]: > > On Friday 14 March 2003 17:03, Rafael Laboissiere wrote: > > | * Jo=E3o Cardoso <jc...@fe...> [2003-03-14 16:33]: > > > > ... > > > > | Nothing. I will change the DTD requierement to 4.2, as this is > > | anyway the most appropriate thing to do. > > > > Now the detection phase runs OK, and some docs are built, but I still > > get an error: > > > > [...] > > Cold you please test with the newest cvs sources? I just committed some > changes that may (hopefully) fix this problem. Nope. Why can you build it and not me? What I'm missing? =2E.. ls: *.info*: No such file or directory make[4]: Entering directory `/home/jcard/plplot/doc/docbook/src' if perl -I/home/jcard/plplot/doc/docbook/perl=20 /home/jcard/plplot/doc/docbook/perl/docbook2texixml plplotdoc.xml-info >=20 plplotdoc.txml-tmp ; then \ mv plplotdoc.txml-tmp plplotdoc.txml ; \ else \ false ; \ fi undefined entity at line 77, column 67, byte 4157 error in processing external entity reference at line 332, column 6, byte=20 16414 at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/XML/Parser.= pm=20 line 185 make[4]: *** [plplotdoc.txml] Error 1 |
From: Rafael L. <lab...@ps...> - 2003-03-16 00:06:34
|
* Joao Cardoso <jc...@fe...> [2003-03-15 23:01]: > Nope. Why can you build it and not me? What I'm missing? The XML::Parser module in your system (or the underlying expat library) is apparently pickier than mine as regards non defined entities. I tried to circumvent this problem by brute-force inclusion of definitions in plplotdoc.xml-info. However, from the error message that you posted, I discovered that there was one left, which is fixed now. There are possibly others, and I ask you to be patient and try again with the newest CVS sources. We will have to interact this way, since I do not have access to a system similar to yours. To avoid cluttering the mailing list, please send the next bug report privately to me. -- Rafael |