Skip to content

Support SWIPL 9.1.2 ? #28

@JBThiel

Description

@JBThiel

Is it possible to make this work with swi-prolog-9.1.2 ?
Gentoo seems to be stuck at this version for a while.
It's not far back from the 9.1.22 minimum mentioned in README.
But installing via pack_install, I get the log below.

Alternately, is there a way to tell pack_install to grab an older version of clpBNR that might be compatible?

Thanks for your work making this powerful solver available on the SWIPL platform.

-- JBThiel


?- pack_install(clpBNR).
% Contacting server at https://www.swi-prolog.org/pack/query ... ok
Install clpBNR@0.11.5 from GIT at https://github.com/ridgeworks/clpBNR.git Y/n?
% Cloning into '/home/jbthiel/.local/share/swi-prolog/pack/clpBNR'...
ERROR: Type error: `dependency' expected, found `prolog:rational' (a compound)
ERROR: In:
ERROR:   [29] throw(error(type_error(dependency,...),_110676))
ERROR:   [24] prolog_pack:'__aux_maplist/3_valid_info_arg+0'([dependency],[prolog:rational]) at /usr/lib64/swipl/library/prolog_pack.pl:275
ERROR:   [22] prolog_pack:'__aux_maplist/2_valid_info_term+0'([requires(...)]) at /usr/lib64/swipl/library/prolog_pack.pl:851
ERROR:   [13] prolog_pack:pack_install_from_url(https,'https://github.com/ridgeworks/clpBNR.git','/home/jbthiel/.local/share/swi-prolog/pack',clpBNR,[git(true),...|...]) at /usr/lib64/swipl/library/prolog_pack.pl:1003
ERROR:    [9] toplevel_call('<garbage_collected>') at /usr/lib64/swipl/boot/toplevel.pl:1173
ERROR:
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions