Requirements & Installation


Requirements

See Platform Status for details about which interfaces and samples are supported on each of the following platforms.

Windows

Amzi! Prolog + Logic Server for the PC requires either Windows '95, '98, NT 4.0 or 2000 (or later). Installation of the full Amzi! system, including the libraries for all the supported environments, requires almost 10mb of disk space.

The Logic Server API supports:

Linux

Amzi! Prolog + Logic Server runs on Linux kernel N.N or later. Installation requires approximately 3mb of disk space. The Logic Server works with any compatible compiler including:

Solaris

Amzi! Prolog + Logic Server runs on Solaris 7 or later. Installation requires approximately 3mb of disk space. The Logic Server works with any compatible compiler including:

HP/UX

Amzi! Prolog + Logic Server runs on HP/UX N.N or later, and is available only by special request at this time. Installation requires approximately 3mb of disk space. The Logic Server works with any compatible compiler including:

Distribution Files

Amzi! Prolog + Logic Server as a compressed archive file that contains the following directory structure:

a5-0-18
  bin  - executable files, and, under Windows, .dll and .lsx files.
    acmp.exe - command line compiler
    alis.exe - command line listener
    alnk.exe - command line linker
    arun.exe - command line runtime
    amzi.dll - Amzi! windows DLL (Windows)
    amzijni.dll - Java 2.0 interface DLL (Windows)
    alnk.dll - IDE linker (Windows)
    aodbc.lsx - ODBC extended predicates (Windows)
    aosutils.lsx - Operating system dependent extended predicates (Windows)
    asock.lsx - Sockets interface LSX (Windows) 
    wideA.exe - Windows IDE (MBCS interface for Win95)
    wideW.exe - Windows IDE (Unicode interface for WinNT)
  abin - Prolog executable files.
    acmp.xpl - compiler load module
    alis.xpl - listener load module
    acgi.plm - Prolog interface to CGI
    alib.plm - Prolog library of built-ins
    aodbc.plm - Prolog ODBC predicates  abin - Prolog executable files, .plm and .xpl files.
    asock.plm - Sockets interface Prolog predicates
    bug.plm - Debugging library predicates
    list.plm - List library predicates
    misc.plm - Miscellaneous predicates
  docs - HTML documentation (see src if it's not here).
    amzidoc.htm - Master HTML document, points to all others
  include - amzi.h C/C++ header file.
    amzi.h - C/C++ include file
  lib  - under Unix, .so and .lsx files.
    amzi.lib - Logic Server library for linking (Windows)
    amzib.lib - Borland version of Logic Server library (Windows)
    libamzi.so (Unix)
    libamzijni.so (Unix)
    aosutils.lsx - Operating system dependent extended predicates (Unix)
    asock.lsx - Sockets interface LSX (Unix) 
  lsapis - Logic Server interfaces for other languages/tools.
    cgi - CGI executables
    delphi - Delphi component (Windows)
    java20 - amzi/ls class libraries and JNI interface
    vb - VB module (Windows)
  samples - various samples, including HTML documentation.
    c - C samples
    cpp - C++ samples
    delphi - Delphi samples
    internet - Internet samples
      cgi - CGI samples
      servlet - Java servlets
      sockets - Sockets samples
    java - Java samples
    odbc - ODBC samples
    prolog - Prolog samples
    vb - Visual Basic samples
  src - source code for extensions and documentation.

Installation Instructions

Amzi! Prolog + Logic Server is distributed as a packed archive file (.zip or .tgz). The 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 subdirectory. 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.

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 operating system.

Windows

  1. Unzip the archive.
  2. Add install_dir\a5-0-18\bin on your PATH where install_dir is the directory you unzipped Amzi! into.
  3. Add the environment variable AMZI_DIR=install_dir/a5-0-18.
  4. Java users, add install_dir\a5-0-18\lsapis\java20 on your CLASSPATH.
  5. Delphi users, see the instructions for installing the component.
  6. C/C++ users, add install_dir\a5-0-18\lib to your LIB environment variable and install_dir\a5-0-18\include to your INCLUDE environment variable.
  7. Create an icon on the start menu or a shortcut on your desktop for the Amzi! IDE.
  8. 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/2000. It's executable is amzi\bin\wideW.exe. The MBCS IDE can be used with either Windows NT or Windows 95/98. It's executable is amzi\bin\wideA.exe.

Unix

  1. Gunzip the archive by typing 'gunzip amzi5-0-18c_linux.tgz'
  2. Extract the file by typing 'tar -xvf amzi5-0-18c_linux.tar' to extract the files.
  3. Add install_dir/a5-0-18/bin onto your path, where install_dir is the directory you installed Amzi! into. Alternatively, create links to the executables from a directory on your path.
  4. Add the environment variable AMZI_DIR=install_dir/a5-0-18.
  5. Add install_dir/a5-0-18/lib to the LD_LIBRARY_PATH environment variable. Alternatively, create links to the .so and .lsx files from a directory in your load library path.
Copyright ©1987-2000 Amzi! inc. All Rights Reserved.