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:
-
Microsoft Visual C++
-
Borland C++
-
Java
-
Delphi
-
Visual Basic
-
MS-Office: Access, Excel, Word
-
Web servers
-
and any Windows development tool that can call a DLL.
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
-
Run the self-extracting EXE. This will automatically
run SETUP.EXE in the AMZI4 main directory. Setup will automatically setup
the items listed below.
-
Add AMZI4\BIN to your path (see detailed
instructions).
-
Create an icon on the start menu or a shortcut on your desktop for the
Amzi! IDE.
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.
-
Delphi users, see the instructions for installing
the component.
Solaris
-
'gunzip <archive>.tar.gz' creates a file with
a .tar suffix.
-
'tar -xvf <archive>' extracts the files.
-
Add amzi/bin to your PATH environment variable n your .profile, .cshrc,
or .bashrc file, e.g. for csh: setenv PATH ~/Amzi/bin:$PATH
-
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
-
'gunzip <archive>.tgz' creates in a file with a
.tar suffix.
-
tar -xvf <archive>.tar' extracts the files.
-
Copy libamzi.so to usr/local/lib.
-
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:
SET LIB=C:\AMZI4\LIB;
SET INCLUDE=C:\AMZI4\INCLUDE;
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.
amzi4 - Amzi 4.1 directory
bin - executable and other binary files
a4bld.exe - command line project builder
a4cgi.plm - Prolog interface to CGI
a4cmp.exe - command line compiler
a4cmp.xpl - compiler load module
a4ideA.exe - Windows IDE (MBCS interface for Win95)
a4ideW.exe - Windows IDE (Unicode interface for WinNT)
a4idl.xpl - IDE listener load module
a4j_js10.dll - Java 1.0 interface DLL
a4j_js11.dll - Java 1.1 interface DLL
a4j_ms10.dll - MS Java 1.0 interface DLL
a4lib.plm - Prolog library of built-ins
a4lis.exe - command line listener
a4lis.xpl - listener load module
a4lnk.dll - IDE linker
a4lnk.exe - command line linker
a4run.exe - command line runtime
a4sock.lsx - Sockets interface LSX
a4sock.plm - Sockets interface Prolog predicates
a4win.lsx - Windows extended predicates
a4winc.lsx - Console extended predicates
amzi4.dll - Amzi! windows DLL
amzi4.xpl - Empty Prolog load module
amzi4c.dll - Amzi! windows console DLL
bug.plm - Debugging library predicates
list.plm - List library predicates
ls4odbc.lsx - ODBC extended predicates
ls4odbc.plm - Prolog ODBC predicates
xarray.lsx - Sample LSX
doc
AmziDoc.htm - Master HTML document, points to all others
(various subdirectories for different manuals)
include
amzi4.h - C/C++ include file
amzi4.bas - VB module functions
amzi4.dcr - Delphi component resources
amzi4.pas - Delphi component source
lib
amzi4.lib - lib for amzi4.dll
amzi4b.lib - lib for building with Borland C/C++
amzi4c.lib - lib for amzi4c.dll
java - directory structure for Java Classes (1.0 and 1.1)
samples - Samples directory
c - C samples
cpp - C++ samples
delphi - Delphi samples
internet - Internet samples
cgi - CGI samples
sockets - Sockets samples
java - Java samples
odbc - ODBC samples
prolog - Prolog samples
vb - Visual Basic samples
source - source code for certain binaries
arun.cpp - command line runtime engine
a4run.mak - make file for runtime engine
bug.pro - debugging library
list.pro - list library
misc.pro - miscellaneous library
cgi - directory with CGI sources
java - Java class source
lsx - source for Amzi! LSXs
awin - system extended predicates
lsodbc - odbc extended predicates
sockets - sockets extended predicates
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.