Feeback: docbook2X on cygwin and Linux

Steve Whitlatch <[email protected]> Sat, 3 Jan 2004 21:18:20 -0700
Newsgroups gmane.text.docbook.docbook2x.general
Organization Steve Whitlatch, Inc.
Message-ID <[email protected]>
Hello, 

Here's some feedback on compiling and running Docbook2X.

Steve Whitlatch


Compilation on cygwin:
*******************
.
.
.

Making all in doc
make[1]: Entering directory `/home/Administrator/temp/docbook2X/
docbook2X-0.8.2/doc'
/bin/xmllint --loaddtd --noout --xinclude docbook2X.xml
warning: failed to load external entity "install/install.xml"
XInclude :: file docbook2X.xml line 65 element include
XInclude: could not load install/install.xml, and no fallback was 
found
touch .docbook2X.valid
../libxslt/db2x_xsltproc -C ../xslt/catalog.xml -I -s ./ss-texinfo.xsl 
-o docbook2X.txml docbook2X.xml
warning: failed to load external entity "install/install.xml"
XInclude :: file docbook2X.xml line 65 element include
XInclude: could not load install/install.xml, and no fallback was 
found
/article[@id='docbook2X']/xi:include[1]: Element not matched by any 
template
/bin/perl -I../perl ../perl/db2x_texixml --utf8trans-program=../
utf8trans/utf8trans --utf8trans-map=../charmaps/texi.charmap 
docbook2X.txml
makeinfo docbook2X.texi
docbook2X.texi:4: warning: unrecogized encoding name `us-ascii'.
../libxslt/db2x_xsltproc -C ../xslt/catalog.xml -I -s man -g 
"header-3=`LANG=C date "+%d %B %Y"`" -g header-5=docbook2X -o 
docbook2X.mxml docbook2X.xml
warning: failed to load external entity "install/install.xml"
XInclude :: file docbook2X.xml line 65 element include
XInclude: could not load install/install.xml, and no fallback was 
found
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[1]/para[1]/xref[1]: Reference to
non-existent ID â?omanpagesâ??
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[1]/para[1]/xref[2]: Reference to
non-existent ID â?odb2x_xsltprocâ??
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[1]/para[1]/xref[3]: Reference to
non-existent ID â?odb2x_manxmlâ??
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[2]/para[1]/xref[1]: Reference to
non-existent ID â?otexinfoâ??
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[2]/para[1]/xref[2]: Reference to
non-existent ID â?otexinfoâ??
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[2]/para[1]/xref[2]: Reference to
non-existent ID â?odb2x_xsltprocâ??
/article[@id='docbook2X']/sect1[@id='quickstart']/
refentry[@id='wrapper-scripts']/refsect1[1]/para[2]/itemizedlist[1]/
listitem[2]/para[1]/xref[3]: Reference to
non-existent ID â?odb2x_texixmlâ??
/article[@id='docbook2X']/sect1[@id='manpages']/
refentry[@id='db2x_manxml']/refsect1[2]/para[2]/variablelist[1]/
varlistentry[1]/listitem[1]/para[1]/xref[1]: Reference to 
non-existent ID â?outf8transâ??
/article[@id='docbook2X']/sect1[@id='texinfo']/
refentry[@id='db2x_texixml']/refsect1[2]/para[1]/variablelist[1]/
varlistentry[1]/listitem[1]/para[1]/xref[1]: Reference to 
non-existent ID â?outf8transâ??
/bin/perl -I../perl ../perl/db2x_manxml --utf8trans-program=../
utf8trans/utf8trans --utf8trans-map=../charmaps/roff.charmap 
--solinks docbook2X.mxml
make[1]: Leaving directory `/home/Administrator/temp/docbook2X/
docbook2X-0.8.2/doc'
Making all in test
make[1]: Entering directory `/home/Administrator/temp/docbook2X/
docbook2X-0.8.2/

Running on cygwin:
**********************************************
%:~/docbook2X-0.8.2/test/complete-manuals> docbook2man at1.xml
db2x_xsltproc: must specify one input document
no element found at line 1, column 0, byte 0 at /usr/lib/perl5/
site_perl/5.8.0/cygwin-multi-64int/XML/Parser.pm line 187

[no output]


%:~/docbook2X/docbook2X-0.8.2/test/complete-manuals> docbook2texi 
dbtotexi.xml
db2x_xsltproc: must specify one input document
no element found at line 1, column 0, byte 0 at /usr/lib/perl5/
site_perl/5.8.0/cygwin-multi-64int/XML/Parser.pm line 187 

This error is related to the expat parser, not sure what line 187 
means, but I would guess that the argument passed to expat is null:
 $result = $expat->parse($arg);]

[no output]

[similar results for all other tests on cygwin]



Compiling on Linux:
***********************************************************************
.
.
.
make[1]: Entering directory `/home/steve/temp/docbook2x/
docbook2X-0.8.2/doc'
/usr/bin/xmllint --loaddtd --noout --xinclude docbook2X.xml
docbook2X.xml:65: element include: XInclude warning : Deprecated 
XInclude namespace found, use http://www.w3.org/2003/XInclude
I/O warning : failed to load external entity "install/install.xml"
docbook2X.xml:65: element include: XInclude error : could not load 
install/install.xml, and no fallback was found
touch .docbook2X.valid
../libxslt/db2x_xsltproc -C ../xslt/catalog.xml -I -s ./ss-texinfo.xsl 
-o docbook2X.txml docbook2X.xml
docbook2X.xml:65: element include: XInclude warning : Deprecated 
XInclude namespace found, use http://www.w3.org/2003/XInclude
I/O warning : failed to load external entity "install/install.xml"
docbook2X.xml:65: element include: XInclude error : could not load 
install/install.xml, and no fallback was found
/article[@id='docbook2X']/sect1[@id='faq']/qandaset[1]: Element not 
matched by any template
/article[@id='docbook2X']/xi:include[1]: Element not matched by any 
template
/usr/bin/perl -I../perl ../perl/db2x_texixml --utf8trans-program=../
utf8trans/utf8trans --utf8trans-map=../charmaps/texi.charmap 
docbook2X.txml
makeinfo docbook2X.texi
docbook2X.texi:739: @item found outside of an insertion block.
docbook2X.texi:743: @item found outside of an insertion block.
docbook2X.texi:776: @item found outside of an insertion block.
docbook2X.texi:779: @item found outside of an insertion block.
docbook2X.texi:790: @item found outside of an insertion block.
docbook2X.texi:793: @item found outside of an insertion block.
docbook2X.texi:796: @item found outside of an insertion block.
docbook2X.texi:801: @item found outside of an insertion block.
makeinfo: Removing output file `/home/steve/temp/docbook2x/
docbook2X-0.8.2/doc/docbook2X.info' due to errors; use --force to 
preserve.
make[1]: *** [docbook2X.info] Error 2
make[1]: Leaving directory `/home/steve/temp/docbook2x/
docbook2X-0.8.2/doc'
make: *** [all-recursive] Error 1


Running on Linux:
**************************************
%:~/test/complete-manuals> docbook2man at1.xml

[no output, no error messages]


%:~/test/complete-manuals> docbook2texi dbtotexi.xml
/article[1]: No description for directory entry

[works, produces dbtotexi.texi that can be made into an info file, no 
defects noticed]


Cygwin configuration:
	   libxml2 version 2.5.11

Linux configuration:
	  libxml2 version 2.6.4



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click