in reply to Re: Which Version of Prolog
in thread Which version of Prolog
I installed SWI Prolog, but it wanted to adopt the .pl extension for prolog files. Clearly this was something I couldn't live with, so I adopted the .pro extension instead. I also changed the default installation from "program files\pl" to "\program files\prolog". Installation failed the first time saying it couldn't write registry settings, however I ran it again, with the same settings and it run without error. Installing the dependency Language::Prolog::Sugar, was error free. But the Makefile for Language::Prolog::Yaswi is crashing with:
C:\Perl\Language-Prolog-Yaswi-0.18>perl Makefile.PL Set up gcc environment - 3.4.5 (mingw special) Checking if your kit is complete... Looks good retrieving SWI-Prolog configuration: running 'plcon.exe -dump-runtime-variables' 'plcon.exe' is not recognized as an internal or external command, operable program or batch file. unable to run swi-prolog command 'plcon.exe': 256 Aborting...
Manual Makefile installs are new for me, I've just used PPM before. Have I done anything obviously wrong?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Which Version of Prolog
by james2vegas (Chaplain) on Aug 26, 2009 at 11:41 UTC | |
According to the README: for windows understand 'pl' to mean 'plcon.exe' and
| [reply] [d/l] [select] |
by Steve_BZ (Chaplain) on Aug 26, 2009 at 13:10 UTC | |
Hi James, Absolutely right. I tried both path names and they both worked (with warnings), however, when I ran nmake (the windows version of make) everything went widly wrong. Here's the Makefile.PL
But then here's the nmake dump (make sure you grease your scrollbar)
| [reply] [d/l] [select] |
by salva (Canon) on Aug 26, 2009 at 15:03 UTC | |
But there is an easy workaround: just go to SWI-Prolog lib directory (C:/Program files/pl/lib by default) and run... Then configure the Perl module again (perl Makefile.PL) and compile it (dmake) and everything should work this time! | [reply] [d/l] [select] |
by Steve_BZ (Chaplain) on Aug 28, 2009 at 12:47 UTC | |
by tmaly (Monk) on Aug 26, 2009 at 13:26 UTC | |
| [reply] |