SourceForge.net Logo Home Page Project Page Download CVS repository

Installing Xgridfit

At the moment there is no installer for any system other than Linux. On a Linux system, open a shell, change to the xgridfit directory (created when you unpacked the Xgridfit archive), become root, and type

    make install

If you want to install the documentation as well, instead type

    make install-all

Xgridfit depends upon an XSLT processor. Most, perhaps all, Linux systems come with xsltproc, part of the XSLT library for Gnome. But other free XSLT processors are available: Saxon version 6, Saxon version 9, versions of Xalan written in Java and C++, and 4xslt, written in Python. Xgridfit will work well with all of these processors, and some have advantages over others: Saxon 9, for example, is very fast when compiling large files. To switch from one XSLT processor to another, run xgfconfig with the -p option and one of the following arguments:

If you choose one of the Java-based processors, xgfconfig tries to find a jar file for that processor. If it fails locate the file, you may use the -j option to specify its exact location. You may also need the -j option if you have more than one version of the processor in your system and xgfconfig is wrongly guessing which one you want to use. (You might be surprised how many copies you have of saxon.jar.) For example:

    $ xgfconfig -p saxon-9 -j /usr/local/share/saxon/saxon9.jar

If for some reason xgfconfig tries to use a jar file for a different processor from the one you want, you may use the processor name with the -j option to make xgfconfig look for the right one:

    $ xgfconfig -p xalan-j -j xalan-j

If you run xgfconfig as root, your settings are saved in the file settings in the xgridfit directory (on Debian systems that is /usr/local/share/xgridfit). These are global, applying to all users. If you run the program as a user, your settings are saved in ~/.xgridfit; these local settings override the global ones. You can quickly restore the global settings by deleting ~/.xgridfit.

You can also use xgfconfig to choose a validator. For details, see Using the schema: validation.