Quoting Lev Lamberov (2022-09-29 18:10:06) > Ср 28 сен 2022 @ 18:59 Jonas Smedegaard <jo...@jones.dk>: > > > Quoting Lev Lamberov (2022-09-28 09:35:00) > >> Since now SWI-Prolog in Debian supports setting an arch-independent path > >> to the interpreter (8.4.3+dfsg-1, uploaded on 2022-09-18, in testing > >> since 2022-09-21), I'm reassigning this bug report to eye. The eye > >> package needs rebuild against the mentioned new swi-prolog version using > >> something like this command: > >> > >> swipl -o myexe --emulator=/usr/bin/swipl -c mycode.pl > > > > Hmm - seems I will need some additional guidance - the above does not > > work for me. > > > > This is the command that was used previously: > > > > swipl -q -f eye.pl -g main -- --image eye.pvm > > > > I tried replacing with the following command: > > > > swipl -q -c eye.pl -g main --emulator=/usr/bin/swipl -o eye.pvm > > > > ...but that did *not* generate file "eye.pvm" but instead "a.out" which > > did not behave as expected (running `./a.out --help` ended in some > > prompt - I guess a SWI-Prolog prompt). > > > > I then tried this command: > > > > swipl -o myexe --emulator=/usr/bin/swipl -c eye.pl > > > > ...which generated expected file, but again it offered some prompt not > > expected eye interface. > > > > Can you help suggest a command? > > Probably the command you need is > > /usr/bin/swipl -o eye.pvm --emulator=/usr/bin/swipl -g main -c eye.pl -- > --image eye.pvm
Indeed that works - Thanks! (seems my problem was that order of options matter!) - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature