Hi,
Since I had to work with R, recent years I had little opportunity to work with Prolog. But now that I’m retired I want to start using that again. That won’t be easy, I even forgot the name of the editor (I thought that was ‘xpce’ but xpce is not yet recognized as a valid command).
So I started by trying to install SWI-prolog on my new laptop (running linux fedora 35).
I first cloned swipl into a new repo and updated all modules.
-
cmake -DCMAKE_INSTALL_PREFIX=$HOME -G Ninja ..
executed without real errors. (jquery.js and java could not be found so JPL tests were dropped). -
ninja
gives no errors. -
ctest -j 4
gives errors:Start 7: swipl:tabling 4/72 Test #2: swipl:basic ......................***Failed 1.53 sec
All the other tests passed succesfull.
-
ctest -j 4 --rerun-failed --output-on-failure
produced this error:Test project /home/bengbers/Git/Prolog/swipl-devel/build Start 2: swipl:basic 1/1 Test #2: swipl:basic ......................***Failed 1.34 sec . Running test set "popen" ..Wrong exception: error(io_error(write,<stream> (0x2301500)),context(system:format/3,'Gebroken pijp')) /home/bengbers/Git/Prolog/swipl-devel/src/test.pl:2230: Test popen(cat-2) failed done.
-
ninja install
executes without error. -
swipl
starts a console.
Can I use SWIprolog without problems or should I first resolve the errors?
Ben