🦙
🦙
How to build plunit
Figured it out! packages/plunit is now a git submodule. The key now is to pull down the main pl.git repo and do “git submodule update —init packages/plunit” and get that loaded properly so that autoconf may work.
Here’s my session:
dave@deb5:~/prologlibs$ git clone git://prolog.cs.vu.nl/home/pl/git/pl.git Cloning into pl... remote: Counting objects: 126606, done. remote: Compressing objects: 100% (22366/22366), done. remote: Total 126606 (delta 103612), reused 125734 (delta 102854) Receiving objects: 100% (126606/126606), 57.86 MiB | 1.57 MiB/s, done. Resolving deltas: 100% (103612/103612), done. dave@deb5:~/prologlibs$ cd pl dave@deb5:~/prologlibs/pl$ git submodule status -50e6b424becbb0b3344a20636cc73bd4b30b6867 bench -4e4c46de7d2bfa5b9a80016c3d04cadd0c838829 packages/R -07eb217de3d09f1c138e3e5d9ba7038719069294 packages/RDF -871eb5fdbc9f37a782aeeb49a462357bdc9c65e7 packages/chr -5a0192fdb1bfe52ccbad46eaa00f706ad1ea7f2b packages/clib -afda687966a21a5a61e8decd5bab0cdf03216e24 packages/clpqr -fe5fa9ec801b603f94e16b38c58f6e265e6b34a4 packages/cpp -fbd64acfd9d3d101c3740feb89ee9dd0ce3b9132 packages/cppproxy -5721d4a60c7af8f7e645485af372b4d62f640dde packages/db -227159c3e966691a11310301d48bae940dd1ef9a packages/http -f9e7c2273c2babaa4cf3065b323e881afca9ccff packages/inclpr -4532f9b4bc0388b7b4682b44000878ccc25c5a52 packages/jasmine -95c2ec04ccebbbc7897faaf9ef09c1c6dc6c4633 packages/jpl -4f23296dbbc7f60bec1759ce83a6f5d443596e0f packages/ltx2htm -5976c7c8499f9d6e9f6144924b8b220b31b185a1 packages/nlp -ef0aacde59b44047a3ade67032b1f34ae97f39eb packages/odbc -589b7700a6ced7250964f1889bdba4bc28f46e23 packages/pldoc -0eb8a5e74c7d0f0c8c7fa7ba37d5dfa1d9530034 packages/plunit -f01caedffb55529920616abd86ffe4d09971808a packages/protobufs -826b2b1f20fc73a8a26e95e527225c11e78276e8 packages/semweb -9df12db0199071c4a302dca79da1a79bf4f4eb3a packages/sgml -cb6f1890dbc02249e90fc1cf37e5763fc824ed83 packages/space -aad6a34fee772de0f79b538fcc7e37d54c626e77 packages/ssl -a792eb408380a5e6b8b88aeea713a69133f7840f packages/table -32277a09c1116013994ffac950911296a4b0179e packages/tipc -a84983cdfdc545ec9111543211f5a1e227da44f3 packages/utf8proc -07e4957dadcda30d3302cb243aa937e238d461a5 packages/xpce -fb60bf86180eb661fc3684080eb58d5d87bcc691 packages/zlib dave@deb5:~/prologlibs/pl$ git submodule update --init packages/plunit/ Submodule 'packages/plunit' (git://prolog.cs.vu.nl/home/pl/git/packages/plunit.git) registered for path 'packages/plunit' Cloning into packages/plunit... remote: Counting objects: 527, done. remote: Compressing objects: 100% (194/194), done. remote: Total 527 (delta 331), reused 521 (delta 331) Receiving objects: 100% (527/527), 695.91 KiB | 377 KiB/s, done. Resolving deltas: 100% (331/331), done. Submodule path 'packages/plunit': checked out '0eb8a5e74c7d0f0c8c7fa7ba37d5dfa1d9530034' dave@deb5:~/prologlibs/pl$ cd packages/plunit dave@deb5:~/prologlibs/pl/packages/plunit$ autoconf dave@deb5:~/prologlibs/pl/packages/plunit$ ./configure checking for swipl... swipl configure: checking "Running swipl -dump-runtime-variables"... " PLBASE=/usr/lib/swi-prolog" checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile dave@deb5:~/prologlibs/pl/packages/plunit$ sudo make install [sudo] password for dave: mkdir -p /usr/lib/swi-prolog/library /usr/bin/install -c -m 644 plunit.pl test_wizard.pl test_cover.pl /usr/lib/swi-prolog/library swipl -f none -g make -t halt % library(swi_hooks) compiled into pce_swi_hooks 0.00 sec, 2,224 bytes % Updating index for library /usr/lib/swi-prolog/library/ dave@deb5:~/prologlibs/pl/packages/plunit$