|
WELCOME TO SICStus Prolog Leading Prolog Technology |
| SICStus Home > Don't panic! (SP3) | Download for Evaluation |
Don't Panic!This page contains code examples, tips, known bugs and work-arounds, and similar information which may not be available in the regular documentation. All code examples may be freely downloaded.The information on this page applies to SICStus Prolog 3. For information that do not apply to the latest version of SICStus Prolog 3, please see the separate page for earlier releases of SICStus Prolog 3. There is also a page for SICStus Prolog 4 which may contain some information relevant for SICStus Prolog 3. Contents:
Download Password Does Not WorkThe password for downloading the SICStus Prolog installers changes frequently. Contact SICStus Request if the password you received with your license information no longer works.Connecting Java to SICStus Using SocketsWe recommendlibrary(prologbeans) as the way to connect Java to Prolog.
This demo is for SICStus 3 only. A demo that shows how a Java application can communicate using sockets to a SICStus that runs in the background. It does not use Jasper. Download socketdemo.jar (version 0.2) and read the README for instructions. You can also browse the source (the source is included in the jar file as well); see the README.
If you are interested in this code you should also check out the AgentBase page. Another program that connects SICStus with Java through sockets is CLPGUI, a graphical user interface for Constraint Logic Programming.
Note: these examples currently use Visual Studio 6.0 and therefore applies only to the VC6 version of SICStus Prolog 3. If you use the VC10 (Visual Studio 2010) version of SICStus Prolog 3 then the information in the SICStus Prolog 4 versions of these instructions may be more useful. Browse the SICStus 3 source or Download the SICStus 3 version
Rerun
sh,bash> export LC_ALL=C csh,tcsh> setenv LC_ALL CThe problem is caused by bugs in very old versions of Perl (Perl 5.8.0 and possibly earlier versions). The bug is probably not Linux-specific.
Could not find bootfile '/export/local/sp-3.11/lib/sicstus-3.11.1/bin/spds.sav'This has been partly fixed as of SICStus 3.11.1. The sicstus executable with a version suffix does not suffer the problem, but the sicstus executable without a version suffix is broken. A simple workaround is to copy the executable with a version suffix to the one without a version suffix.
Before installing SICStus Prolog 3 we recommend that you install the Apple developer tools (XCode). The Apple Developer tools are also required, together with the appropriate third party products, to use the Berkeley DB library; see the release notes for details. The Apple Developer tools may be present on your Mac OS X installation disks. They are also downloadable free of charge from the Apple Developer Connection.
If the Apple Developer tools is not present, it is possible to install
a "pre-built" version of SICStus but the tools Mac OS JavaIf you intend to use the Jasper Java interface you need the latest Java development tools as well. These are also downloadable from Apple.
Note: On Windows Vista, and later, you need to use "Run as
administrator" to start
|