Re: Error compiling after upgrade to swi-prolog 6.41

Olivier Sallou <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 08/08/2013 10:07 AM, Jan Wielemaker wrote:
> A few grep commands suggests this has something to do with the Ciao
> emulation, possibly together with the use of :- module/3 declarations.
> Does that ring a bell?  If so, can you produce a test case?
This was indeed a module/3 issue and sicstus declaration.
I removed 3rd parameter for swi-prolog compil and everything is fine.

Thanks

Olivier
>
>     --- Jan
>
> P.s.    It normally should give a location where this error
>     is related to.  If not, you might try to get context
>     by creating this file and put a single directive in
>     it, like this:
>
>     :- backtrace(25).
>
>
> On 08/08/2013 09:42 AM, Olivier Sallou wrote:
>> Hi,
>> after a swi-prolog upgrade (Debian), my program fails to compile.
>> It used to work with v6.2 and my code has not been modified since.
>>
>> I have an error:
>>
>> debiansid:~/Desktop/DEBIAN-MED/logol/logol-1.6.2.orig$ swipl -f
>> prolog/logol.pl
>>
>> ERROR: Prolog initialisation failed:
>> ERROR: source_sink `library(dialect/assertions)' does not exist
>>
>> I do not see however where this dialect/assetions come from, I do not
>> call it directly in my code.
>>
>> Any hint?
>>
>> Thanks
>>
>> Olivier
>>
>
>
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.