The OpenSP package contains a C++ library for using SGML/XML files. This is useful for validating, parsing and manipulating SGML and XML documents.
Download (HTTP): http://download.sourceforge.net/openjade/OpenSP-1.5.1.tar.gz
Download (FTP): ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/OpenSP-1.5.1.tar.gz
Download MD5 sum: f46fe0a04b76a4454ec27b7fcc84ec54
Download size: 1.4 MB
Estimated disk space required: 43 MB
Estimated build time: 0.97 SBU
Required Patch (removes some annoying messages that can appear while running openjade): http://www.linuxfromscratch.org/blfs/downloads/6.1/OpenSP-1.5.1-LITLEN-1.patch
Required Patch: http://www.linuxfromscratch.org/blfs/downloads/6.1/OpenSP-1.5.1-gcc34-1.patch
Install OpenSP by running the following commands:
patch -Np1 -i ../OpenSP-1.5.1-LITLEN-1.patch && patch -Np1 -i ../OpenSP-1.5.1-gcc34-1.patch && ./configure --prefix=/usr --disable-static --enable-http \ --enable-default-catalog=/etc/sgml/catalog \ --enable-default-search-path=/usr/share/sgml && make pkgdatadir=/usr/share/sgml/OpenSP-1.5.1
Now, as the root user:
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.1 install && ln -v -sf onsgmls /usr/bin/nsgmls && ln -v -sf osgmlnorm /usr/bin/sgmlnorm && ln -v -sf ospam /usr/bin/spam && ln -v -sf ospcat /usr/bin/spcat && ln -v -sf ospent /usr/bin/spent && ln -v -sf osx /usr/bin/sx && ln -v -sf osx /usr/bin/sgml2xml && ln -v -sf libosp.so /usr/lib/libsp.so
--disable-static: This switch prevents the building of the static library.
--enable-http: This switch adds support for HTTP.
--enable-default-catalog=/etc/sgml/catalog: This switch sets the path to the centralized catalog.
--enable-default-search-path: This switch sets the default value of SGML_SEARCH_PATH.
--enable-xml-messages: This switch adds support for XML Formatted Messages.
make pkgdatadir=/usr/share/sgml/OpenSP-1.5.1: This sets the pkgdatadir variable in the Makefile from /usr/share/OpenSP to /usr/share/sgml/OpenSP-1.5.1.
ln -v -sf ...: These commands create the SP equivalents of OpenSP executables and libraries.
Last updated on 2005-08-01 13:29:19 -0600