xmlto 0.0.20
Build results: Not actually deployed to the box, just built as an Xorg dependency...Dependencies: [sgml-base 1.26] [docbook-xsl-1.74] [docbook-xml-4.2]
Build sequence:
I think it is not necessary to deploy xmlto to the box, co will configure it locally (it will not go to the /mnt/C/sys directory).
dev# wget http://cyberelk.net/tim/data/xmlto/stable/xmlto-0.0.20.tar.bz2 dev# tar xjvf xmlto-0.0.20.tar.bz2 dev# cd xmlto-0.0.20 dev# ./configure dev# make I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ... Variable $SGML_CATALOG_FILES not setIt seems there is no support for XML catalogs on the system. According to this source we can fix it in a following way:
dev# mkdir -p /usr/local/etc/xml dev# xmlcatalog --noout --create /usr/local/etc/xml/catalog dev# mkdir -p /usr/local/share/docbook/xsl dev# cd /usr/local/share/docbook/xsl dev# wget "http://downloads.sourceforge.net/docbook/docbook-xsl-1.74.0.tar.bz2?modtime=1212403365&big_mirror=0" -O docbook-xsl-1.74.tar.bz2 dev# tar xjvf docbook-xsl-1.74.tar.bzI would have liked to install it in /usr/local/etc, but according to the source only /etc works
dev# mkdir -p /etc/xml dev# xmlcatalog --noout --add 'nextCatalog' '' 'file:///usr/local/share/docbook/docbook-xsl-1.73.2/catalog.xml' --create /etc/xml/catalogNow it is time to install the catalog:
dev# cd /usr/local/share/docbook/xsl/docbook-xsl-1.74.0/ dev# ./install.sh WARNING: This install script is meant to be run as a non-root user, but you are running it as root. Are you sure you want to continue? [No] Y ... Create /root/.resolver/CatalogManager.properties file? [Yes] Y ... Add /etc/xml/catalog to /root/.resolver/CatalogManager.properties? [Yes] Y ... Add /usr/local/share/docbook/xsl/docbook-xsl-1.74.0/catalog.xml to /root/.resolver/CatalogManager.properties file? [Yes] Y ... To source your shell environment for this distribution, type the following: . /usr/local/share/docbook/xsl/docbook-xsl-1.74.0/.profile.incl dev# . /usr/local/share/docbook/xsl/docbook-xsl-1.74.0/.profile.inclNow back to the xmlto installation:
dev# cd /usr/local/src/xmlto-0.0.20 dev# make clean dev# ./configure dev# make I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/local/src/xmlto-0.0.20/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">There is a progress, but we are not done withe XML catalogs yet:
dev# cd /usr/local/share/docbook dev# wget http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zipThere is a bug in the busybox version of unzip - for details see this message.
As a workaround we can pre-create the directories before the actual unzipping:
dev# mkdir -p docbook-xml-4.2/ent dev# unzip docbook-xml-4.2.zip -d docbook-xml-4.2Now we can register the new XML catalog:
dev# xmlcatalog --noout --add nextCatalog '' file:///usr/local/share/docbook/docbook-xml-4.2/catalog.xml --create /etc/xml/catalogAnd finally finish the xmlto installation:
dev# cd /usr/local/src/xmlto-0.0.20 dev# make clean dev# ./configure dev# make dev# make install
libxslt - 1.1.22
Build results: [binary] [list files]Dependencies: [libxml2-2.6.30]
Build sequence:
dev# cd /ust/local/src dev# wget ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/1.1/libxslt-1.1.22.tar.bz2 dev# tar xjvf libxslt-1.1.22.tar.bz2 dev# cd libxslt-1.1.22 dev# ./configure --prefix=/mnt/C/sys dev# make dev# make install
libxml2 2.6.30
Build results: [binary] [list files]Build sequence:
dev# wget ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.30.tar.bz2 dev# tar xjvf libxml2-2.6.30.tar.bz2 dev# cd libxml2-2.6.30 dev# ./configure --prefix=/mnt/C/sys dev# make dev# make install
sgml-base 1.26
Build results: Not actually deployed to the boxBuild sequence:
dev# cd /usr/local/src dev# wget http://ftp.de.debian.org/debian/pool/main/s/sgml-base/sgml-base_1.26.tar.gz dev# tar xzvf sgml-base_1.26.tar.gz dev# cd sgml-base-1.26 dev# make dev# make install
No comments:
Post a Comment