This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Installing and using docbook2X (debian)
- From: Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sat, 08 Mar 2003 12:24:55 -0800 (PST)
- Subject: DOCBOOK-APPS: Installing and using docbook2X (debian)
Good evening.
Several months ago I was trying to convert DocBook SGML to texinfo:
<http://sources.redhat.com/ml/docbook-apps/2002-q3/msg00706.html>
At that time Michael Smith was nice enough to do it for me with
docbook2X on his debian system. Well, my in-laws donated their old P150
to the cause after getting an iBook and I installed Debian 3.0 on it and
a bunch of perl modules as listed on
<http://docbook2x.sourceforge.net/dependencies.html>
and downloaded docbook2X-0.70 from that site. I ran ./configure and make
with the following failure:
--snip--
make[1]: Entering directory `/root/docbook2x/docbook2X-0.7.0/doc'
../libxslt/docbook2texi-libxslt -s ./ss-texinfo.xsl -o docbook2X.txml
docbook2X.xml
Use of deprecated xmlCatalogGetSystem() call
Use of deprecated xmlCatalogGetPublic() call
../libxslt/docbook2texi-libxslt: refusing to load required network entity
http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd
--snip--
Since this is in the doc/ directory I thought that this may not matter
but I still would like it to work. Besides that...I don't really know what
I'm doing with DocBook or docbook2X. I ran sgml2xml on my SGML file:
debian:~/tmp/convert# sgml2xml -x lower cygwin-api.sgml > cygwin-api.xml
which appears to work. But then:
debian:~/tmp# /root/docbook2X-0.7.0/perl/docbook2texixml cygwin-api.xml
Can't locate XML/DOM/Map.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1
/usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at
/root/docbook2x/docbook2X-0.7.0/perl/docbook2texixml line 48.
BEGIN failed--compilation aborted at
/root/docbook2x/docbook2X-0.7.0/perl/docbook2texixml line 48.
--snip--
I googled and found this newsgroup post about an old version of docbook2X
that was packaged as a deb that includes /usr/lib/perl5/XML/DOM/Map.pm:
http://groups.google.com/groups?q=%22Can%27t+locate+XML/DOM/Map.pm+%22&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=handler.55823.D55823.9487208831826.ackdone%40bugs.debian.org&rnum=1
So, how do I create this file?
Thanks for your time.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/