logtalk3 icon indicating copy to clipboard operation
logtalk3 copied to clipboard

GNU Prolog 1.4.5 predicate existence errors at Logtalk startup

Open pmoura opened this issue 6 years ago • 1 comments

Using the Logtalk integration script for GNU Prolog results in predicate existence errors at Logtalk startup:

$ gplgt
...
warning: /usr/share/logtalk/core/core.pl:25087:
user directive caused exception:
error(existence_error(procedure,'$lgt_default_flag'/0),'$lgt_cache_compiler_flags'/0)

This bug can re recognized by the error reporting a predicate indicator with zero arity. This error occurs with GNU Prolog 1.4.5 Linux installations performed using tools such as apt and yum. Those installations are broken. Compiling GNU Prolog from sources is known to fix the problem (which is unrelated to Logtalk ands also affects any Prolog program that the user attempts to compile and run).

pmoura avatar Sep 21 '19 11:09 pmoura

Fixed in GNU Prolog 1.5.0.

pmoura avatar Sep 29 '21 19:09 pmoura