Installation


Amzi! Prolog is distributed electronically via the Internet or on 3 1/2" diskettes. The distribution media is not copy protected. Before proceeding make copies of the distribution for backup purposes and keep the copies in a safe place.

We ask that you respect our copyright so that we can continue to provide you with new releases and products.

Requirements

Windows Editions

Amzi! Prolog + Logic Server for the PC requires either Windows '95 or NT 3.5 (or later).

Installation of the full Amzi! system, including the libraries for all the supported environments, requires almost 10mb of disk space. The Amzi! Logic Explorer requires about 2mb of hard disk space.

The Logic Server API supports:

Solaris Edition

Installation requires approximately 3mb of disk space. The Logic Server works with any compatible compiler.

Linux Editions

Installation requires approximately 3mb of disk space. The Logic Server works with any compatible compiler.

Instructions

Amzi! Prolog+Logic Server is distributed as both a single file and multiple, smaller files to ease downloading. It is distributed as archive files for each operating systems as follows:
Windows
self-extracting exe
Solaris
tar.gz (gzip + tar)
Linux
tgz (gzip + tar)
These archives contain full pathnames for each file. This means that when you extract the files, the entire directory structure will be created (below the current directory) with each file in its proper sub-directory. To extract the files, put the archive(s) in your root or user directory or whatever directory you want to contain the directory tree. Then follow the appropriate instructions for your product and platform.

Windows

  1. Run the self-extracting EXE. This will automatically run SETUP.EXE in the AMZI4 main directory. Setup will automatically setup the items listed below.
  2. Add AMZI4\BIN to your path (see detailed instructions).
  3. Create an icon on the start menu or a shortcut on your desktop for the Amzi! IDE.

  4. There are two versions to choose from. One is a full Unicode development environment (with a Unicode program editor) and the other is a Multi-byte Character Set (MBCS) environment. Both support traditional ASCII characters as well.
    The Unicode environment can only be used with Windows NT 4.0. It's executable is AMZI4\BIN\A4IDEW.EXE. The MBCS IDE can be used with either Windows NT or Windows 95. It's executable is AMZI4\BIN\A4IDEA.EXE.
  5. Delphi users, see the instructions for installing the component.

Solaris

  1. 'gunzip <archive>.tar.gz' creates a file with a .tar suffix.
  2. 'tar -xvf <archive>' extracts the files.
  3. Add amzi/bin to your PATH environment variable n your .profile, .cshrc, or .bashrc file, e.g. for csh: setenv PATH ~/Amzi/bin:$PATH
  4. If you intend to create your own logic server applications using shared libraries, you will need to tell Solaris where to find the Amzi shared library, amzish.so. You can either install it to a standard Solaris library directory, or set your LD_LIBRARY_PATH environment variable appropriately. For example: setenv LD_LIBRARY_PATH ~/Amzi/lib. Check with your system administrator to determine the proper approach for your site.

Linux

  1. 'gunzip <archive>.tgz' creates in a file with a .tar suffix.
  2. tar -xvf <archive>.tar' extracts the files.
  3. Copy libamzi.so to usr/local/lib.
  4. Make a link from libamzi.so.1.0 to libamzi.so.y (this will be fixed in a future release)

Adding Amzi! to Your Windows Paths

For Amzi! Prolog + Logic Server to operate properly, you must make sure the AMZI4\BIN directory is included in the path used by your operating system to locate programs and data files.

Modifying AUTOEXEC.BAT for Windows 95, 3.x

Under Windows '95, 3.1, WFW you need to add the AMZI4 directory to the PATH command in your AUTOEXEC.BAT file.

Modifying the NT Path

NT users must use the Control Panel/System tools to add the AMZI4 directory to the search path.

Accessing Amzi! Include Files and Libraries

If you are going to use the Logic Server API, you need to add the AMZI4\LIB and AMZI4\INCLUDE directories to your LIB and INCLUDE environment variables: If you are using IDEs for C/C++ Compilers, you will also need to add amzi4\lib and amzi4\include to the appropriate directory lists for include files and libraries.

Distribution Files

The install program will create a directory on your hard drive, by default AMZI4, with a number of sub-directories. We strongly recommend you use the default directory names as some of the sample code relies on this structure. Because the top-level directory name and executable program and library names include the major release number, you can run multiple releases of Amzi! Prolog+Logic Server at the same time without naming conflicts.

Unlocking the Product

Most of you will have received this release electronically, which will be the preferred distribution method for Amzi! products. Each product has a 'Serial #', and each user has a 'User Name' and 'Organization' (which might be blank). These fields, combined with the 'Unlock Code' for a product, give you access to your downloaded software.

To unlock the software, choose FILE/UNLOCK from the IDE menu or type 'unlock' in the Listener. Enter your 'User Name', 'Organization', 'Serial #', and 'Unlock Code' EXACTLY as they appear in your registration information, including upper/lower case characters, spaces and dashes in the numbers.

NOTE -- the letters 'I' and 'O' do NOT appear in Serial #s or Unlock Codes, but the numbers '1' and '0' do. So always use the digits 1 or 0 for these visually similar characters.

When new versions of a release are made available on our Web site, you will be able to download those and use the same information to unlock the new copies. You can use your product 'Serial #' to gain access to the product download section of the Web site (http://www.amzi.com/swdist.htm).

Subscribers will automatically get new 'Serial #'s and 'Unlock Code's for new versions of a product.

For example, someone who purchases 4.0 without a subscription, will be able to download all of the maintenance updates to 4.0 until a new version, say 4.1, is released. Subscribers will be able to download 4.1 and any other new versions while their subscription is active.

Copyright ©1987-1998 Amzi! inc. All Rights Reserved.