/usr/share/doc/swi-prolog-x/README.sicstus is in swi-prolog-x 6.6.4-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | Dear SICStus Prolog user,
XPCE version 4.8.16 contains a brand new interface for SICStus Prolog 3.
This process describes the installation process.
PREREQUISITES:
==============
Before you start the installation of XPCE/SICStus, make sure to have the
following tools ready:
* The GCC compiler or another supported compiler. Both XPCE
itself and the interface are written in ANSI-C, so for example
the old SunOS 4.x cc compiler won't do the job.
You find gcc on almost any major ftp-site, you can buy for
only a few bucks in the local store on CD as well.
* GNU-make, which you can obtain from the same source as GCC.
Unless you want to modify a lot to the Makefiles, don't try
anything else.
* SICStus version 3 installed.
* A disk with at least 25 MB available.
* Some coffee.
BUILDING:
=========
Step 1: Build libXPCE.a and xpce-client
--------------------------------------
* Unpack the XPCE source archive:
% gunzip xpce-4.8.16.tar.gz | tar xvf -
which will create a xpce-4.8.16 directory below the working
directory.
* Make a directory for your architecture. So, if you using a
SUN with SunOS 4.1.x, do:
% cd xpce-4.8.16
% mkdir sunos4
% cd sunos4
* Configure and make the library:
% ../src/configure --without-pl
% make
* If all is right, you will end up with libXPCE.a and
xpce-client in the current directory. You may copy xpce-client
to a public place:
% cp xpce-client /usr/local/bin
% chmod 755 /usr/local/bin/xpce-client
NOTE: If you have XPCE build for SWI-Prolog, you can simply
skip step 1.
Step 2: Preparing the XPCE/SICStus Prolog files
-----------------------------------------------
* Change to the sicstus directory:
% cd ../sicstus
* Edit the Makefile and change SP_PATH to point to the
SICStus home directory.
* Type
% make
to create the XPCE/Prolog directory structure in the SICStus
library and copy the library and other resource files.
Step 3: Build the interface
---------------------------
* Change to sicstus/src:
% cd src
* Edit Makefile to change the variables indicated in the
Makefile
* Make the interface, .ql files, emulator and saved-state
using:
% make
|