Description | Source |
---|---|
The GNU C++ preprocessor/compiler/linker package (version 2.7.2) | ftp://prep.ai.mit.edu/pub/gnu/gcc-2.7.2.tar.gz |
The GNU make utility | ftp://prep.ai.mit.edu/pub/gnu/make-3.75.tar.gz |
Sun's JDK distribution (version 1.1.4 or higher) | http://java.sun.com/products/jdk/1.1/index.html |
GNU's Flex Lexer (version 2.5.3 or higher) | ftp://prep.ai.mit.edu/pub/gnu/flex-2.5.3.tar.gz |
GNU's Bison Parser (version 1.25 or higher) | ftp://prep.ai.mit.edu/pub/gnu/bison-1.25.tar.gz |
Follow the steps below to set up the system. This is the "quick-and-easy" version of the installation instruction to get you started. Later on this page, there is information on other settings that can be made to customize the system.
This will unpack the distribution, creating a directory tree with some subdirectories. 'cd' into the code subdirectorygzip -dc predator.tar.gz | tar -xvf -
Variable Name | Meaning |
---|---|
XXX_INSTALLROOT | A path to the root of the installation. By convention, this should point to a directory called PREDATOR where you unpacked your distribution. |
XXXSHORELOGDIR | The directory in which SHORE will store its log files. This directory MUST exist and be writeable. Try to place your log files on a local disk. You MUST define this variable. |
XXXTMPDATADIR | The directory is used by the server for temporary files and query processing information. This directory MUST exist and be writeable. You MUST define this variable. |
XXX_JDK | Location of your JDK installation. |
Note: The string "XXX" in this document really means "XXX". Do not subsitute with other strings.
There are some further settings you can make to modify the behavior of PREDATOR.
You will need to remake the whole system (in the code directory, first make clean, then make).# XXXFLAGS=$(DEBUG_FLAGS) $(STD_FLAGS) XXXFLAGS=$(OPT_FLAGS) $(STD_FLAGS)
Variable Name | Meaning |
---|---|
XXXSHOREDEFDEVPATH | The desired location of your "default disk". This is the file used by ADTs as a storage volume. For instance, images and audio objects are stored in this file. Try to place your "default disk" on a local file system. |
XXXSHOREDEFDEVSIZE | The size of your defdisk, in kilobytes. A good starting size is 50000. |
XXXSHORERELDISKPATH | The desired location of your relational data "disk". This is the file used to store relational data. Try to place your "relational disk" on a local file system. |
XXXSHORERELDISKSIZE | The size of your reldisk, in kilobytes. A good starting size is 10000. |
XXXSHOREDISKRW | The location of SHORE's diskrw program, which performs asynchronous disk accesses. Change this only if you are using an independent installation of SHORE. |
XXX_SERVER_PORT | A port number (preferably above 5000) where the regression tests can safely start a server. This is meaningful only for the regression tests, not for normal execution. |