Did you know ... Search Documentation:
GIT commit info
Updated Debian dependencies
authorJan Wielemaker
Sun Mar 27 21:34:22 2022 +0200
committerJan Wielemaker
Sun Mar 27 21:34:22 2022 +0200
commit49e4fa4029d2cddaa0db04181cc85079e93d25ed
treeba30ec52cd710cfa193dcf7d74920bb87517c70e
parenta74a0d3cc3b67d37dc8212e6f00a8bd454f26914
Diff style: patch stat
diff --git a/build/Debian.txt b/build/Debian.txt
index 304b9fe..d72ea4a 100644
--- a/build/Debian.txt
+++ b/build/Debian.txt
@@ -12,15 +12,14 @@ After building you may wish to run `?- check_installation.` in `swipl` to check
 
 Use the following commands to obtain all dependencies for a full build
 from source. Note that there are no known version dependencies on any of
-these packages.  If your (debian-based) distribution is lacking any of
-these package use =|apt-cache search <name>|= to find an alternative,
-where <name> is e.g., =libunwind= (i.e., remove version and details).
-Some remarks:
+these packages. If your (debian-based) distribution is lacking any of
+these package use ``apt search <name>`` to find an alternative, where
+<name> is e.g., `jdk` (i.e., remove version and details). Some remarks:
 
   - ``ninja-build`` may be dropped, building using `make`.  Using `make`
     is fine for a one-time build, but `ninja` is advised for developers
     or people that regularly update using git.
-  - It is possible to use =iodbc= instead of =unixodbc= for ODBC
+  - It is possible to use `iodbc` instead of `unixodbc` for ODBC
     connectivity.
   - The SWI-Prolog Java interface (JPL) works with many Java development
     kits.  `Junit4` is needed as of version 8.1.29.  Older versions require
@@ -37,7 +36,8 @@ Some remarks:
   - ``libgoogle-perftools-dev`` provides
     [tcmalloc](https://github.com/google/tcmalloc), which can reduce
     memory usage a lot on some heavily multithreaded applications.
-  - =libunwind= only simplifies debugging in case of a system crash.
+  - `libpcre2-dev` is required for library(pcre).  SWI-Prolog versions before
+    8.5.9 require `libpcre3-dev` (which is older than `libpcre2-dev` ...)
   - `cmake` must be at least version 3.5 See
     [CMAKE.md](https://github.com/SWI-Prolog/swipl-devel/blob/master/CMAKE.md)
 
@@ -46,7 +46,6 @@ sudo apt-get install \
         build-essential cmake ninja-build pkg-config \
         ncurses-dev libreadline-dev libedit-dev \
 	libgoogle-perftools-dev \
-	libunwind-dev \
         libgmp-dev \
         libssl-dev \
         unixodbc-dev \
@@ -55,7 +54,7 @@ sudo apt-get install \
         libxext-dev libice-dev libjpeg-dev libxinerama-dev libxft-dev \
         libxpm-dev libxt-dev \
 	libdb-dev \
-	libpcre3-dev \
+	libpcre2-dev \
         libyaml-dev \
         default-jdk junit4
 ```
@@ -75,14 +74,14 @@ including all packages without issues. If you want to reduce resources, the foll
   $ libgmp-dev :
   Without, you lack unbounded integer support, rational numbers, good
   random number generators, etc.
-  $ libpcre3-dev :
+  $ libpcre2-dev :
   Without, you have no regular expression support (library(pcre)).
   $ libyaml-dev :
   Without you have no YAML support (library(yaml)).
 
 Note that including GMP support makes the memory footprint bigger, but
 mostly if you have no other applications depending on GMP. All the other
-optional components are only loaded if you actually use them.
+optional components are only loaded when you use them.
 
 ### Prerequisites to build swipl-win