From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile-1.8.4 compile bug Mac OS X 10.4.11 PPC G4 Date: Sat, 23 Feb 2008 18:21:54 +0000 Message-ID: <87y79bh6t9.fsf@ossau.uklinux.net> References: <3635F871-351D-461C-8344-8FDC6D396751@math.su.se> <878x1ct1yp.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=macintosh Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203790940 14443 80.91.229.12 (23 Feb 2008 18:22:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2008 18:22:20 +0000 (UTC) Cc: bug-guile@gnu.org To: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Feb 23 19:22:45 2008 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JSz1H-0006vE-96 for guile-bugs@m.gmane.org; Sat, 23 Feb 2008 19:22:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSz0l-0005C8-MH for guile-bugs@m.gmane.org; Sat, 23 Feb 2008 13:22:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSz0h-0005C0-S7 for bug-guile@gnu.org; Sat, 23 Feb 2008 13:22:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSz0f-0005Bb-IB for bug-guile@gnu.org; Sat, 23 Feb 2008 13:22:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSz0f-0005BY-DF for bug-guile@gnu.org; Sat, 23 Feb 2008 13:22:05 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSz0a-0005uW-Ai; Sat, 23 Feb 2008 13:22:00 -0500 Original-Received: from arudy (host86-145-183-175.range86-145.btcentralplus.com [86.145.183.175]) by mail3.uklinux.net (Postfix) with ESMTP id 91A1B1F69E9; Sat, 23 Feb 2008 18:21:55 +0000 (GMT) Original-Received: from laruns (laruns [192.168.0.10]) by arudy (Postfix) with ESMTP id F305A3800A; Sat, 23 Feb 2008 18:21:54 +0000 (GMT) In-Reply-To: <878x1ct1yp.fsf@gnu.org> (Ludovic =?iso-8859-1?Q?Court=E8s's?= message of "Sat, 23 Feb 2008 11:13:34 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3815 Archived-At: ludo@gnu.org (Ludovic Court=8Fs) writes: > Hi, > > Hans Aberg writes: > >> Guile-1.8.4 does not compile on Mac OS X 10.4.11 PPC G4 (see below). > >> readline.c:109: error: =D4rl_pending_input=D5 undeclared (first use in > > As we already discussed, you'll want to install GNU Readline, as opposed > to the BSD Editline broken Readline compatibility layer that you're > currently using. > > On one hand, it's become such a common problem that we may want to > detect it at configure-time. OTOH, a compatibility layer is supposed to > be compatible, and it would be annoying to have to work around > Editline's defects. :-) I've started a FAQ (to be included in future Guile releases), and this is the first entry: =3D=3D=3D=3D=3D=3D=3D=3D=3D>8=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ** readline.c: error: `rl_pending_input' undeclared This occurs if the Readline library detected by Guile's configure script is actually the BSD Editline project's supposedly Readline-compatible library. The immediate fix is to uninstall Editline and install the real GNU Readline instead. When you do this, please note that it probably won't work to keep Editline in /usr and install GNU Readline in /usr/local (or some similar arrangement), because the Editline library will then still be picked up at link and run time; it's best (subject to other constraints) to remove Editline completely. For the longer term, please also report this problem to the Editline project, to encourage them to fix it in the next release of their Readline compatibility library. =3D=3D=3D=3D=3D=3D=3D=3D=3D>8=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Regards, Neil