I seem to have built SWI-Prolog without support for PceEmacs

I built SWI-Prolog on my Linux computer (openSUSE Tumbleweed) by running these exact commands:

git clone https://github.com/SWI-Prolog/swipl-devel.git
cd swipl-devel
git submodule update --init

cd swipl-devel
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/logic ..
make
ctest -j 4
sudo make install

I passed every test from the ctest -j 4 command.

Now when I start swipl and run emacs. I get this error: ERROR: Unknown procedure: emacs/0 (DWIM could not correct goal). On my previous install of SWI-Prolog I had once tried to use PceEmacs and gotten this same error but didn’t think much of it and moved on. That was several months ago.

The only information I can find on this error is from this Stack Overflow post, which doesn’t actually provide a solution to the problem.

Please let me know what I can do.

1 Like