This description of the installation procedure is oriented mainly towards UNIX users. Windows 95 users can use the binaries as is, and Windows NT users need to add the appropriate drivers and take great care. The ANSI C sources may also be compiled under Windows 95/NT if desired, but instructions for this are not given.
The source file distribution will be described first, then the binaries are given.
gzip -d zdatr-2.0.tar.gz tar fxv zdatr-2.0.tarThe archive unpacks into the directory zdatr-2.0, which contains the source code, and Postscript and HTML versions of this report, DATR theory and query example files, and demo scripts. The Sussex, Bielefeld and Düsseldorf web pages should be consulted for papers on DATR and a wide range of DATR theories.
The following is an extract from the INSTALL help file provided with the distribution (more detailed information is available there):
1) Run configure. If you want to install the program directories into
a location other than /usr/local, run configure --prefix=LOCATION,
e. g. configure --prefix=$HOME.
2) Run make. If there will no errors, then the program is ready for installation.
3) Run make install. This will place onto your system:
ZDATR binaries to ${PREFIX}/bin (usually /usr/local/bin),
ZDATR man pages to ${PREFIX}/man,
ZDATR standard libraries to ${PREFIX}/share/zdatr/std
ZDATR documentation in LaTeX and HTML formats to ${PREFIX}/share/zdatr/doc,
ZDATR examples to ${PREFIX}/share/zdatr/example
To install a binary, just un-gzip and untar the file and copy the contents of directory 'program' to /usr/local or some other appropriate location. See the file README for description of 'program' subdirectories.
If you install in a directory other than /usr/local, you will probably need to modify your PATH and MANPATH environment variables.
For example, if you install to $HOME, modify these variables as follows:
PATH=$PATH:$HOME/bin; export PATH
MANPATH=$MANPATH:$HOME/man; export MANPATH
After that you should consult the manpage with man zdatr for zdatr options. The detailed ZDATR manual can be found in doc/ directory, which contains the current version of the manual in latex, html and postscript formats. The Texinfo format will be available in the next minor release.
configure -prefix=[mydirectory]
bin/ -- binary files and shell scripts needed to run zdatr man/ -- ZDATR man page share/zdatr/ -- syntax highlighting files for VIM share/zdatr/std -- ZDATR standard libraries share/zdatr/doc -- ZDATR manual in various formats share/zdatr/doc/html -- HTML version of ZDATR manual share/zdatr/doc/latex -- LaTeX version of ZDATR manual share/zdatr/demo -- demo theories share/zdatr/tests -- test theories