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 96 97 98 99 100 101 102 103 104 105
|
Please search the section for your Linux distribution
################################################################
# Debian dependency list as compiled by Nicolas Pelletier
################################################################
List of packages needed to compile SWI Prolog on Debian 4.0 stable (Etch):
binutils
coreutils
gcc
grep
libc6-dev
libgmp3-dev
libncursesw5-dev
libreadline5-dev
autoconf
make
sed
curl
chrpath
List of packages needed to compile additional SWI Prolog packages on
Debian 4.0 stable (Etch):
For clib: no other package required
For cpp: no other package required
For odbc: unixodbc-dev
For table: no other package required
For xpce: libxext-dev libice-dev libjpeg62-dev libxinerama-dev libxft-dev
libxpm-dev libxt-dev pkg-config
For sgml: no other package required
For sgml/RDF: no other package required
For semweb: no other package required
For http: no other package required
For chr: no other package required
For clpqr: no other package required
For nlp: no other package required
For ssl: libssl-dev
For pldoc: no other package required
For plunit: no other package required
For jpl: sun-java5-bin sun-java5-fonts sun-java5-jdk
For zlib: zlib1g-dev
Note 1: installing these packages triggers the automatic installation
of other needed (dependent) packages.
Note 2: Debian includes other Java implementations; however, the
configure script found in jpl tests for a directory structure that can
only match Sun's Java. I also do not know if the jpl package works
with these other implementations. Now that Sun has open-sourced Java,
this should be less of a concern.
------------------------
And now simple commands:
------------------------
To make life a bit easier for you we compiled a single-line apt-get
command to get all SWI-Prolog's dependencies. Simply copy-and-paste
the command below in a terminal window and enter the sudo password
to get everything installed. Note that it does not matter than you
may have some of these packages already present: apt-get will simply
tell you they are installed and up-to-date.
sudo apt-get install \
binutils coreutils gcc grep chrpath \
libc6-dev libncursesw5-dev libreadline5-dev \
libgmp3-dev \
make sed autoconf curl \
libxext-dev libice-dev libjpeg62-dev libxinerama-dev libxft-dev \
libxpm-dev libxt-dev pkg-config \
libssl-dev \
openjdk-6-jdk \
zlib1g-dev
The provided build.templ works fine for Debian and Ubuntu. Copy it to
"build" and edit the installation prefix if you do not wish to install
in your own $HOME/bin directory. Then run
./build
--------------------------
Building the documentation
--------------------------
If you want to build the documentation from source you also need the
following packages:
sudo apt-get install \
texlive-latex-base \
texlive-latex-recommended \
texlive-fonts-recommended
################################################################
# OpenSUSE 11.2
################################################################
For OpenSuSE 11.2, you need the following installed in addition
to the basic X11/C/C++ development profile:
zypper install \
git-core \
readline-devel \
unixODBC-devel \
libjpeg-devel \
java-1_6_0-openjdk-devel
|