Section 2 of this manual
describes how to install Aristotle.
Section 3 describes how to
configure your account (or Aristotle
users' accounts) to support use of Aristotle.
When invoked, Aristotle reads a startup file,
"aristotle_setup.dat". Aristotle looks
for this file initially in the user's current
directory, then in the user's home directory,
and finally, in the Aristotle binary directory.
You need to modify the default setup file for your installation.
It is a good idea to do this from the "samples" directory in the
Aristotle distribution so that you can test the
installation.
To modify the setup file, do the following:
Invoke Aristotle by typing:
aristotle
You'll find yourself in the top menu of the
Aristotle menu system.
Go to "Setup" and make the
selection that leads to
"Parser Analyzer Setup", and
modify both "Parser executable" selections (options 2 and 5 )
to specify the location and name of the "cfe"
binary. This binary is in the bin directory of the Aristotle
distribution. You need to specify the full path name and executable name
of cfe. On our system, it looks something like this:
/nfs/foo/bar/baz/Aristotle/bin/cfe
The value of the "Command line options" should already be "<< None >>"
on lines 3 and 6. (Other setup values are initialized
to default values. You may wish to adjust them at a later time.)
Return to the "Setup" menu by typing "p", for Parent menu, and check
the "Setup file location".
The value should be set to the Aristotle distribution bin directory.
If it is not, change it.
For example, at our installation it is:
/nfs/foo/bar/baz/Aristotle/bin
Select "W" to write setup information to disk.
Now you can give the system a short test. Exit the Aristotle system
by typing "x" at the menu prompt. Change directory to the "samples" subdirectory
of the distribution, and
restart Aristotle. Type "s" to enter the name of a source file to
analyze. Enter the name of a source file in the samples
subdirectory. The samples directory must be the current
directory. Choose option number 1, "Parser/analyzers", from the menu and then
choose "Run". Several progress messages should appear on the screen. Warning messages
are normal and do not interfere with running the system. An error message will be
displayed if there are any problems with the installation. After the parser/analyzer
is finished,
Aristotle will wait for you to press enter to return to the
PARSER/ANALYZER menu.
Now, select "X" to exit the menu system.
As an additional check, list the files in your ARISTOTLE_DB_DIR. There should
now be several files with the same name as the source file, but different suffixes.
Check the permissions on the setup file. Other users need to be able
to read it. We suggest:
chmod 644 aristotle_setup.dat
If use is restricted to a specific group, "640" may be more appropriate.
The installation is now complete;
you should be able to run Aristotle.
See the User's Manual for instructions.