Mercurial > hg > dml-home
annotate src/swipl/README.md @ 100:a4cd935561d4 dml-dockerised tip
small updates and version pin for cliopatria
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Fri, 29 Jun 2018 17:48:41 +0100 |
parents | c7720fefea26 |
children |
rev | line source |
---|---|
daniel@53 | 1 # To build a new SWI Prolog: |
daniel@53 | 2 |
daniel@53 | 3 1. Download the source archive. |
daniel@53 | 4 2. Unpack it here. This will result in a new directory which |
daniel@53 | 5 I will refer to as <new source root>. |
daniel@53 | 6 3. Copy http_openid.pl to <new source root>/packages/http/ |
daniel@53 | 7 4. Copy build into <new source root> |
daniel@53 | 8 5. CD into <new source root> and build. |
daniel@53 | 9 6. Give SUDO password when prompted to install into /usr/local |
daniel@53 | 10 7. Start SWIPL and rebuild any packages that have foreign libraries |
daniel@53 | 11 |
daniel@53 | 12 Eg, for the latest version as of today (14/5/2015) 7.3.0, I did: |
daniel@53 | 13 |
daniel@53 | 14 $ wget http://www.swi-prolog.org/download/devel/src/swipl-7.3.0.tar.gz |
daniel@53 | 15 $ tar xzf swipl-7.3.0.tar.gz |
daniel@53 | 16 |
daniel@53 | 17 Alternatively, if you want to be cool, try |
daniel@53 | 18 |
daniel@53 | 19 $ curl http://www.swi-prolog.org/download/devel/src/swipl-7.3.0.tar.gz | tar xz |
daniel@53 | 20 |
daniel@53 | 21 Then |
daniel@53 | 22 |
daniel@53 | 23 $ cd swipl-7.3.0 |
daniel@53 | 24 $ cp -p ../http_openid.pl packages/http |
daniel@53 | 25 $ cp -p ../build . |
daniel@53 | 26 $ ./build |
daniel@53 | 27 $ swipl |
daniel@53 | 28 |
daniel@53 | 29 ?- maplist(pack_rebuild,[real,prosqlite,plml]). |
daniel@53 | 30 ?- halt. |
daniel@53 | 31 |
daniel@53 | 32 $ |
daniel@53 | 33 |
daniel@53 | 34 |
daniel@53 | 35 |
daniel@53 | 36 |