From jan@swi.swi.psy.uva.nl Wed Dec  5 12:46:29 2001
Received: from gollem.swi.psy.uva.nl (gollem.swi.psy.uva.nl [145.18.152.30])
	by swi.psy.uva.nl (8.10.2+Sun/8.11.2) with ESMTP id fB5BkTk11713;
	Wed, 5 Dec 2001 12:46:29 +0100 (MET)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id fB5BkSr00370;
	Wed, 5 Dec 2001 12:46:28 +0100
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: mfamir@hss.hns.com.prolog@swi.swi.psy.uva.nl
Subject: Re: Not able to use multithreading features of prolog
Date: Wed, 5 Dec 2001 12:40:52 +0100
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
References: <65256B19.003F790D.00@sandesh.hss.hns.com>
In-Reply-To: <65256B19.003F790D.00@sandesh.hss.hns.com>
MIME-Version: 1.0
Message-Id: <01120512462806.30497@gollem>
Content-Transfer-Encoding: 8bit

On Wed, 05 Dec 2001, mfamir@hss.hns.com wrote:
>Hi,
>
>I am not able to use multithreading features of prolog. My OS is Solaris2.7.
>
>I followed the undermentioned procedure for installing the version 4.0.11.
>
>1. After gzip and untar and going to "pl-4.0.11/src", ran "./configure
>--prefix=$HOME/SWIProlog/Prolog-4.0.11"
>2. Ran "gmake".
>3. Ran "gmake install".

The single and multi-threaded binaries are two different programs.  To
build both (advised), proceed as follows

% tar zxvf pl-4.0.11.tar.gz
% cd pl-4.0.11
% mkdir single
% cd single
% ../src/configure
% make
% make install			# this finishes the normal version
% cd ..
% mkdir multi
% ../src/configure --enable-mt
% make
% make install-mt		# this installs pl-mt in the same
				# structure as pl.

If you want to build the packages, act as below.  The --enable-mt
prepares them for multithreaded usage.

% cd ../packages
% ./configure --enable-mt
% make
% make install

The linux RPM from our site is build using this sequence.

	--- Jan

