Re: SWI Prolog Runtime configuration.



On 2006-08-30, Sujai <sujai.antony@xxxxxxxxx> wrote:
Hello all.
I am trying to run SWI prolog by enabling runtime option
(-disable-gmp --disable-readline --enable-shared
--enable-runtime ).
Initially, I got a linker error with the function 'exception_hook'.
This issue was resolved by making a minor chaning in pl-wam.c and now
I have got the plrt and plrt.prc files.

However, when I try running plrt,I get the following warnings and an
assertion failure:
# ./plrt -p library=.
[WARNING: /users/a19043/pl-5.6.9/boot/init.pl:80: (loading (null))
directive fai
led: system: (module_transparent $set_pattr/2, (dynamic)/1,

I think, but its all very long ago as the runtime system existed first
of all from the days before SWI-Prolog was licenced under the LGPL, you
can only run saved states created using a compatible version of the
development system using `plrt -x state' or by combining them
using `cat plrt state > myprog && chmod +x myprog'

Possibly the problem is deeper. Debugging the system while it is loading
its init-file is very hard as most of the code that makes it print sensible
errors is either not yet loaded or appearently not functioning properly.

Cheers --- Jan
.