Okapi for Mono
Release 22 Notes — MMM-DD-2008
The Okapi Tools are .NET components. They have been primarily developed to run under the Microsoft implementation of .NET, however some of them should also be able to run under the Mono implementation.
Note that currently, while filters and utilities components should work for the mot part, only one Okapi application is fit to run under Mono: Tikal. Applications such as Rainbow or Olifant use UI features that are not quite ready for use in Mono. Note also that some others tools like Album are Windows-specific are not meant to run on a different system.
The Okapi distribution for Mono is a work in progress.
To install the Okapi components under Mono you need to do the steps described below. The examples assume that you are under a the openSuSE 10.2 distribution of Linux, and are using bash for shell. Commands may be different depending on your Linux distribution, but it should be comparable.
OkapiMono-R00000as a generic name.
/usr/localif you are logged in as root user, or your Home directory (e.g.
/home/username) if you have rights only there.
.tarfile, you need to un-tar it:
tar xvf OkapiMono-R00000.tar
OkapiMonoin the current directory.
.tarfile which is no longer needed.
To be able to run Okapi tools under Mono, you need to make sure Mono can find the Okapi
shared assemblies. The
assemblies are located under
<prefix> is the directory where you un-zipped the distribution file, so
To set the variable, do for example:
You also need to specify where is the Okapi root directory. Note that if you do not do this and use Tikal, Tikal will set a default root
directory. That default root will be the parent directory of the
Tikal.exe is located. If you use your own programs with
components, make sure
OKAPI_HOME is defined:
You can find more information on the Okapi components and tools here:
To un-install the Okapi for Mono components from your system, simply delete
OkapiMono directory and all its content.
A few samples files comes with the distribution. They are located in the
Extraction.batis a DOS batch file you can use when running under Mono on Windows.
Extraction.shis a bash script you can use when running under Mono on Linux.
Both batch files assume that Mono is setup and that the system can find the Okapi assemblies (i.e. the
MONO_PATH variable is set).