The package directory contains a subdirectory for each SWI-Prolog package. Without packages, SWI-Prolog is called SWI-Prolog/lite. Building -------- To build these packages, first build and install SWI-Prolog itself This creates Makefile, copying some of the configuration settings from the SWI-Prolog configuration options. If you plan to install XPCE (strongly recommended for better online help, graphical tracer, integrated editor and powerful GUI toolkit), make sure to have the following installed in a searchable place: * libjpeg (http://www.ijg.org/) * libXPM (http://www-sop.inria.fr/koala/lehors/xpm.html) * The X11 development headers and libraries Here are the required packages on some package-based installations. In general, you need the X development package. libjpeg is often in a separate package. Recent X development packages contain the Xpm library. In older versions this is often a separate package If your distribution contains a development package for one of these libraries, use this. Please contribute this information for your distribution by mail to jan@swi.psy.uva.nl ================================================================ Distribution Packages ================================================================ SuSE-6.4 xdevel-3.3 libjpeg-6.2.0 xpm-3.4k SuSE-7.0 xdevel-4.0 libjpeg-6.2.0 SuSE-7.1 xdevel-4.0.2 libjpeg-6.2.0 SuSE-9.0 XPCE: XFree86-devel-4.3.0 libjpeg-6.2.0 odbc: unixODBC ssl: openssl-devel db: db-devel ================================================================ The packages to be build are specified in the configure script, variable PKG. You can specify this list on the commandline using -for example- env PKG="clib sgml" ./configure or you can modify the default list using --with-PKG or --without-PKG options. Most of the packages are designed not to build or install anything if they discover that the build environment lacks features requirted by the package. ./configure make make install Each package comes with its own documentation. This documentation may be installed in the directory $(PLBASE)/doc/packages in either HTML or PDF format using one of the commands: make html-install make pdf-install Provided packages ----------------- (*) flagged packages are installed by default # chr (*) Constraint Handling Rules compiler and runtime environment. # clib (*) Consists of various sub-packages. Currently defined: unix fork, exec, pipe, kill, etc. socket tcp/ip sockets cgi get CGI form-data (GET and POST) memfile Memory-hosted temporary `files` mime parse MIME documents # cpp (*) C++ wrapper for foreign language interface # db Experimental interface for BerkeleyDB # jasmine Experimental interface for Jasmine OO DB. Runs on Windows only. # ltx2htm Prolog-based LaTeX to HTML converter used for converting the SWI-Prolog documentation. # mp Interface to GNU GMP library for arbitrary precission arithmetic First check the GMP requirements in the package! # sgml and sgml/RDF (*) XML, SGML and RDF parsers # semweb (*) Semantic Web (RDF) storage and inference layer # http (*) HTTP server and client libraries # table (*) Quick access to tabled information. Can be used to access read-only resources such as dictionaries # xpce (*) Graphical UI toolkit. Includes editor for Prolog source and graphical tracer for Prolog.