From Xander.Schrijen@phil.uu.nl Sun Jun 24 17:26:11 2001
Received: from smtpg.casema.net (smtpg.casema.net [195.96.96.160])
	by swi.psy.uva.nl (8.11.2/8.11.2) with SMTP id f5OFQBc21212
	for <prolog@swi.psy.uva.nl>; Sun, 24 Jun 2001 17:26:11 +0200 (MET DST)
Message-Id: <200106241526.f5OFQBc21212@swi.psy.uva.nl>
Received: (qmail 13671 invoked by uid 0); 24 Jun 2001 15:26:10 -0000
Received: from unknown (HELO klarkash-ton) (212.64.95.199)
  by smtpg.casema.net with SMTP; 24 Jun 2001 15:26:10 -0000
Date: Sun, 24 Jun 2001 17:26:48 +0200
From: Xander Schrijen <Xander.Schrijen@phil.uu.nl>
Content-Type: text/plain;
	format=flowed;
	charset=us-ascii
Subject: Re: [SWIPL] porting swi prolog to mac os x
Cc: Jacobo Myerston <jacunix@cantv.net>
To: "'prolog@swi.psy.uva.nl'" <prolog@swi.psy.uva.nl>
X-Mailer: Apple Mail (2.388)
In-Reply-To: <200106201308.f5KD87127335@rs1s2.datacenter.cha.cantv.net>
Mime-Version: 1.0 (Apple Message framework v388)
Content-Transfer-Encoding: 7bit

On Wednesday, June 20, 2001, at 03:08  PM, Jacobo Myerston wrote:

> I'm using swi-prolog on macosx since macosx with no problems. 
> It builds, but the packages do not compile. I' have tried to 
> build clib and I got this:
>
> ld  -o unix.so error.o process.o
> ld: Undefined symbols:

I've written a  short guide on how to get foreign libraries to 
work on SWI-Prolog on Mac OS X.  I've included building clib as 
an example.

http://www.phil.uu.nl/~xges/HOWTO/swipldynlib.html

> And  xpce's  ./configure stops when it doesn't find xpm.h, but 
> xpm.h is installed in /usr/X11R6/include/X11.

I haven't build xpce, but passing --with-xpm=/usr/X11R6 to 
configure will let it find the Xpm files.


Xander.

