From mfamir@hss.hns.com Wed Dec  5 14:43:21 2001
Received: from hindon.hss.co.in ([202.54.26.202])
	by swi.psy.uva.nl (8.10.2+Sun/8.11.2) with ESMTP id fB5DhJk20819;
	Wed, 5 Dec 2001 14:43:19 +0100 (MET)
Received: from sandesh.hss.hns.com (localhost [127.0.0.1])
	by hindon.hss.co.in (8.10.0/8.10.0) with SMTP id fB5DiS717982;
	Wed, 5 Dec 2001 19:14:28 +0530 (IST)
Received: by sandesh.hss.hns.com(Lotus SMTP MTA v4.6.3  (733.2 10-16-1998))  id 65256B19.004B6A2E ; Wed, 5 Dec 2001 19:13:43 +0530
X-Lotus-FromDomain: HSS
From: mfamir@hss.hns.com
To: Jan Wielemaker <jan@swi.swi.psy.uva.nl>, prolog@swi.swi.psy.uva.nl
Message-ID: <65256B19.004B6911.00@sandesh.hss.hns.com>
Date: Wed, 5 Dec 2001 19:15:02 +0530
Subject: Re: Not able to use multithreading features of prolog
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline



Hi Jan,

I tried the same procedure as specified by you. And the pl-mt was also built
successfully.
But, when I run the same, it gives me the following error.

=======================================================
gagan:mfamir-/user/mfamir/SWIProlog/Prolog-4.0.11/multi>bin
[FATAL ERROR:
        Could not find system resources]
gagan:mfamir-/user/mfamir/SWIProlog/Prolog-4.0.11/multi>
========================================================

Of course, "bin" above is the link to the "pl-mt" binary. I also tried running
the binary
directly but of no avail.
Also tried after making the packages with same error.

Please help.
Thanks
Amir






Jan Wielemaker <jan@swi.psy.uva.nl> on 12/05/2001 05:10:52 PM

To:   mfamir@hss.hns.com.prolog@swi.swi.psy.uva.nl
cc:    (bcc: Mohd. Fuzail Amir/HSS)

Subject:  Re: Not able to use multithreading features of prolog




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


----------------
* To UNSUBSCRIBE, please use the HTML form at

    http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist

or send mail to prolog-request@swi.psy.uva.nl using the Subject: "unsubscribe"
(without the quotes) and *no* message body.

** An ARCHIVE of this list is maintained at

    http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/





