From pmoura@noe.ubi.pt Thu Feb 28 00:44:58 2002
Received: from front2.netvisao.pt ([213.228.128.57])
	by swi.psy.uva.nl (8.11.6/8.11.2) with SMTP id g1RNiwu28122
	for <prolog@swi.psy.uva.nl>; Thu, 28 Feb 2002 00:44:58 +0100 (MET)
Received: (qmail 10331 invoked from network); 27 Feb 2002 23:44:53 -0000
Received: from unknown (HELO pal-217-129-250-218.netvisao.pt) (217.129.250.218)
  by front2.netvisao.pt with SMTP; 27 Feb 2002 23:44:53 -0000
Date: Wed, 27 Feb 2002 23:44:12 +0000
Subject: Re: [SWIPL] Mac OS debs
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Mime-Version: 1.0 (Apple Message framework v481)
Cc: Paulo Moura <pmoura@noe.ubi.pt>, prolog@swi.psy.uva.nl
To: Jacobo Myerston <jacunix@cantv.net>
From: Paulo Moura <pmoura@noe.ubi.pt>
In-Reply-To: <75C04164-2BB7-11D6-B93F-000393451AF6@cantv.net>
Message-Id: <E722A18E-2BDB-11D6-AB91-003065804322@noe.ubi.pt>
X-Mailer: Apple Mail (2.481)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by swi.psy.uva.nl id g1RNiwu28122


On Wednesday, February 27, 2002, at 07:23 PM, Jacobo Myerston wrote:

> I already wrote a deb(fink) script for personal use. But there is a 
> issue with it; Fink has readline 4.2,  and  swi-prolog does not compile 
> in my box  with this version of readline.   That is what I get 
> compiling swi-prolog in Fink:
>
> cc -c -I. -I. -I./rc -Wall -O2  -no-cpp-precomp pl-rec.c -o pl-rec.o
> cc -c -I. -I. -I./rc -Wall -O2  -no-cpp-precomp pl-rl.c -o pl-rl.o
> pl-rl.c: In function `event_hook':
> pl-rl.c:177: warning: implicit declaration of function `rl_set_prompt'
> pl-rl.c: In function `Sread_readline':
> pl-rl.c:269: `rl_readline_state' undeclared (first use in this function)
> pl-rl.c:269: (Each undeclared identifier is reported only once
> pl-rl.c:269: for each function it appears in.)
> pl-rl.c:274: `RL_STATE_INITIALIZED' undeclared (first use in this 
> function)
> pl-rl.c: In function `prolog_completion':
> pl-rl.c:365: warning: implicit declaration of function 
> `rl_completion_matches'
> pl-rl.c:366: `rl_filename_completion_function' undeclared (first use in 
> this function)
> pl-rl.c:366: warning: assignment makes pointer from integer without a 
> cast
> pl-rl.c:369: warning: assignment makes pointer from integer without a 
> cast
> make: *** [pl-rl.o] Error 1
> ### (cd failed, exit code 2
> Failed: compiling swi-prolog-5.0.2-1 failed

Strange. I'm compiling the CVS version from some time now with readline 
4.2 (compiled by myself from the sources) without any problem. Not sure 
there is not any warning but it compiles (and seams to work) fine.

Are you sure that compiler finds the readline library? Any possible path 
problems?

Regards,

Paulo


-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Informatics                   Office 4.3  Ext. 3257
University of Beira Interior          Phone: +351 275319700
6201-001 Covilhã                      Fax:   +351 275319732
Portugal

mailto:pmoura@noe.ubi.pt
http://www.ci.uc.pt/logtalk/pmoura.html
-----------------------------------------------------------

