|
|
If your machine is running Linux, download the file okapi-pack.1.10.tar.gz.
<OKAPI_ROOT>/dot-files/dot.cshrc
that could be appended to your .cshrc file.
Tcl/Tk: | either Tcl 7.4 / Tk 4.0
or Tcl 7.6 / Tk 4.2. |
gcc: | version 2.7 |
You must check that these are installed and determine the full pathnames of the libraries. You then need to modify the following lines of the two Makefiles:
## gcc:: set GBASE to the full pathname
of the gcc lib and bin directories
GBASE = /vol/gcc-2.7
## Tcl/Tk set TKTCL_LPATH to the full pathname
of the Tcl/Tk libraries (e.g. fot Tcl7.6/Tk4.2
TKTCL_LPATH = /vol/tcl-7.6
TKTCL_IPATH = /vol/tcl-7.6
TCL_LIB = $(TKTCL_LPATH)/lib/libtcl7.6.a
TK_LIB = $(TKTCL_LPATH)/lib/libtk4.2.a
## X: set X_PATH to the X11R6 libraries
directory
X_PATH = /vol/X11R6
The locations of the libraries is clearly system dependent. We did try using dynamic libraries for the installation but this did prove problematic because of the setup of our systems within City's wider network(s).
make indexer
Assuming the compilation proceeds without errors this will make a binary called "indexer" in this directory. Move this file into <OKAPI_ROOT>/bin (or wherever).
make okapi
Assuming the compilation proceeds without errors this will make a binary called okapi in this directory. Move this file into <OKAPI_ROOT>/bin (or wherever).
There should be no problems compiling these two programs. However, if
there is, email Okapi Support
and your problem(s) will be dealt with as soon as possible.
Okapi-Pack Main Menu | Mail Okapi Support | Registration |