Dear Benjamin,
I guess the simplest way is to install the whole of SWI-Prolog from git.
Configure, build and test it. Once that works, go to packages/jpl,
do
git checkout master
git pull
and hack away. Once upon a time these packages were independent from
the rest of the tree ...
Cheers --- Jan
P.s. JPL will most likely receive a major update in the next few
days (depending on portability tests).
On 01/15/2017 11:18 PM, Benjamin Mathers wrote:
> I have checked out the packages-jpl project from the SWI-Prolog GitHub
> page. I want to add some functionality, but first I wanted to make sure
> I could run the tests. When running TestJUnit, I keep on receiving the
> following error:
>
> |SWI-Prolog:[FATAL ERROR:Couldnot open resource database
> "../../src/swipl.prc":Noerror]|
>
>
> I see that the path mentioned in the error comes from this declaration:
>
> |publicstaticfinalStringstartup
> =(System.getenv("SWIPL_BOOT_FILE")==null?"../../src/swipl.prc":System.getenv("SWIPL_BOOT_FILE"));|
>
>
> So, the project cannot find swipl.prc. It seems this might be mended by
> adding a "SWIPL_BOOT_FILE" environment variable, but I don't know what
> file to point to. I have tried using "swipl-win.exe", but that has not
> worked. Am I missing something obvious?
>
> --
> You received this message because you are subscribed to the Google
> Groups "SWI-Prolog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swi-prolog+...@googlegroups.com
> <mailto:
swi-prolog+...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/swi-prolog.
> For more options, visit
https://groups.google.com/d/optout.