Validator-Lite Installation

To run Validator-Lite, you will need:

You may already have suitable catalogue files and OpenSP library installed, in which case you can ignore the packages supplied here. You will then of course have to adjust the wrapper accordingly. The downloads supplied in this page will (or should) work out-of-the-box if you download all packages and untar them in your home directory. You will then have a directory valet containing:

Validator-Lite Source

Validator-Lite is available either as source code (distributed under the GNU General Public License) or as binaries for selected platforms.

The source is generated from glade, following which I hacked the Makefile to compile the validator.cpp source code and link libosp. This means that "make" should work (though you may have to hack it a bit), but it will break if you try to run configure or autogen.sh. These are provided for people interested in serious hacking on it, not for end-users!

OpenSP

libosp is supplied separately for two reasons:

Wrapper

A wrapper to work with the above is:

#!/bin/sh

VALET_BASE="$HOME/valet" ; export VALET_BASE
#BROWSER=(set your favourite browser and uncomment this line; default mozilla)

HTML_CATALOGUE="$VALET_BASE/sgmlib/html.soc" ; export HTML_CATALOGUE
XML_CATALOGUE="$VALET_BASE/sgmlib/xml.soc" ; export XML_CATALOGUE
LD_LIBRARY_PATH="$VALET_BASE/lib:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH
SP_MESSAGE_FORMAT=TRADITIONAL ; export SP_MESSAGE_FORMAT

exec $VALET_BASE/bin/validator-bin

Downloads

All the downloads are gzipped tarfiles (.tgz), and the binaries are also stripped to keep the size down.