OpenSP-1.5

Introduction to OpenSP

Download location (HTTP):       http://download.sourceforge.net/openjade/OpenSP-1.5.tar.gz
Download location (FTP):        
Version used:                   1.5
Package size:                   1.3 MB
Estimated Disk space required:  16.1 MB
Estimated build time:           7.51 SBU

The OpenSP package contains a C++ Library for using SGML/XMLfiles. This is useful for validating, parsing and manipulating SGML and XML documents.

OpenSP depends on:
sgml-common-0.6.3

Installation of OpenSP

Install OpenSP by running the following commands:

./configure --prefix=/usr --disable-static --enable-http \
--enable-default-catalog=/etc/sgml/catalog \
--enable-default-search-path=/usr/share/sgml --enable-xml-messages &&
make pkgdatadir=/usr/share/sgml/OpenSP-1.5 &&
make pkgdatadir=/usr/share/sgml/OpenSP-1.5 install &&
ln -sf onsgmls /usr/bin/nsgmls &&
ln -sf osgmlnorm /usr/bin/sgmlnorm &&
ln -sf ospam /usr/bin/spam &&
ln -sf ospcat /usr/bin/spcat &&
ln -sf ospent /usr/bin/spent &&
ln -sf osx /usr/bin/sx &&
ln -sf osx /usr/bin/sgml2xml &&
ln -sf libosp.so /usr/lib/libsp.so &&
install-catalog --add /etc/sgml/OpenSP-1.5.cat \
/usr/share/sgml/OpenSP-1.5/catalog &&
install-catalog --add /etc/sgml/sgml-docbook.cat \
/etc/sgml/OpenSP-1.5.cat

Update hint: Remove the above catalog items prior to upgrading with:
install-catalog --remove /etc/sgml/OpenSP-{version}.cat \
/usr/share/sgml/OpenSP-{version}/catalog &&
install-catalog --remove /etc/sgml/sgml-docbook.cat \
/etc/sgml/OpenSP-{version}.cat

Command explanations

--disable-static : This switch prevents the building of the static library.

--enable-http : This switch add support for http.

--enable-default-catalog=/etc/sgml/catalog : This switch sets the path to our 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 : This sets the pkgdatadir variable in the Makefile from /usr/share/OpenSP to /usr/share/sgml/OpenSP-1.5.

ln -sf onsgmls /usr/bin/nsgmls
ln -sf osgmlnorm /usr/bin/sgmlnorm
ln -sf ospam /usr/bin/spam
ln -sf ospcat /usr/bin/spcat
ln -sf ospent /usr/bin/spent
ln -sf osx /usr/bin/sx
ln -sf osx /usr/bin/sgml2xml
ln -sf libosp.so /usr/lib/libsp.so
These commands create the SP equalivants of OpenSP executables and libraries.

Contents

The OpenSP package contains onsgmls, ospam, osx, ospcat and ospent.

Description

onsgmls

onsgmls process SGML files.

ospam

ospam is a markup stream editor.

osx

osx is a SGML normalizer or a converter of SGML to XML.

ospcat

ospcat prints effective system identifiers found in the catalogs.

ospent

ospent provides access to OpenSP's entity manager.