From jan@swi.psy.uva.nl  Fri Jan 21 15:03:02 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id PAA15987;
	Fri, 21 Jan 2000 15:03:02 +0100 (MET)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA13595;
	Fri, 21 Jan 2000 15:03:04 +0100
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: Fred Dushin <fadushin@syr.edu>, Ovidiu Predescu <ovidiu@cup.hp.com>
Subject: Re: problem with JPL 1.0.1 and SWI Prolog 3.3.0
Date: Fri, 21 Jan 2000 15:00:01 +0100
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
Cc: prolog@swi.psy.uva.nl
References: <200001210253.SAA16233@orion.rgv.hp.com> <3888639A.9156718F@syr.edu>
In-Reply-To: <3888639A.9156718F@syr.edu>
MIME-Version: 1.0
Message-Id: <00012115030402.13167@gollem>
Content-Transfer-Encoding: 8bit

On Fri, 21 Jan 2000, Fred Dushin wrote:
>> I'm trying to get JPL running on my Linux box. I have JDK 1.2.2, JPL 1.0.1 and
>> SWI Prolog 3.3.0 (the January 17th 2000 version).
>> 
>> When I run the Test.java program in the test directory, I get this error
>> message:
>> 
>> [PROLOG INTERNAL ERROR:
>>         Undefined predicate: system:print_message/2
>> 
>> PROLOG STACK:
>>     [42405] system: (module_transparent _L508925)
>>     [42404] system: (module_transparent _G127252, _G127253)
>>     [42403] system: (module_transparent _G127249, _G127250)
>>     [42402] system: (module_transparent _G127246, _G127247)
>>     [42401] system: (module_transparent _G127243, _G127244)
>>     [42400] system: (module_transparent _G127240, _G127241)
>>     [42399] system: (module_transparent _G127237, _G127238)
>>     [42398] system: (module_transparent _G127234, _G127235)
>>     [42397] system: (module_transparent _G127231, _G127232)
>>     [42396] system: (module_transparent _G127228, _G127229)
>> ]
>> 
>> It looks like the definition of print_message is not available to the Prolog
>> system.
>
>I have not tried 3.3.0 yet, but I will soon.  I have had no problems up to
>3.2.9.  In the meantime, you may want to check a few things.
>
>1. Make sure that when you build 3.3.0, you did not have any previous versions
>of SWI-Prolog in your executable path; I may be wrong here (and Jan please
>correct me if I am), but there can be problems that arise from the fact that the
>locations of Prolog system resources can be compiled into the SWI executable.

This message is typical if the system detected an old version of the
system resources (I think I should flag them with the Prolog version
that created them).  There are various messages in this list about this
topic, which is notably problematic in the Windows version.  For example
you might have set SWI_HOME_DIR or SWIPL in your environment pointing to
an old installation.

	Regards --- Jan

