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: Fri, 07 Mar 2008 19:55:49 +0000 Message-ID: <87pru6cnqy.fsf@ossau.uklinux.net> References: <3635F871-351D-461C-8344-8FDC6D396751@math.su.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1204920154 3288 80.91.229.12 (7 Mar 2008 20:02:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2008 20:02:34 +0000 (UTC) Cc: bug-guile@gnu.org To: Hans Aberg Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 07 21:03:01 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 1JXigC-0000OL-Vn for guile-bugs@m.gmane.org; Fri, 07 Mar 2008 20:56:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXiff-0005Wk-9Y for guile-bugs@m.gmane.org; Fri, 07 Mar 2008 14:55:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXifb-0005Vc-On for bug-guile@gnu.org; Fri, 07 Mar 2008 14:55:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXifb-0005VC-7k for bug-guile@gnu.org; Fri, 07 Mar 2008 14:55:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXifb-0005V0-0Z for bug-guile@gnu.org; Fri, 07 Mar 2008 14:55:55 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXifa-0001HJ-GC for bug-guile@gnu.org; Fri, 07 Mar 2008 14:55:54 -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 6D2A61F76B7; Fri, 7 Mar 2008 19:55:51 +0000 (GMT) Original-Received: from laruns (laruns [192.168.0.10]) by arudy (Postfix) with ESMTP id 1F6973800A; Fri, 7 Mar 2008 19:55:50 +0000 (GMT) In-Reply-To: <3635F871-351D-461C-8344-8FDC6D396751@math.su.se> (Hans Aberg's message of "Fri, 22 Feb 2008 19:03:37 +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:3830 Archived-At: Hans Aberg writes: > readline.c: In function =C2=91rl_cleanup_after_signal=C2=92: > readline.c:109: error: =C2=91rl_pending_input=C2=92 undeclared (first use= in > this function) > readline.c:109: error: (Each undeclared identifier is reported only once > readline.c:109: error: for each function it appears in.) > readline.c: In function =C2=91scm_init_readline=C2=92: > readline.c:564: warning: assignment from incompatible pointer type > make[4]: *** [readline.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 Hi Hans, >From our new FAQ (which will be part of the distribution in 1.8.5): =3D=3D=3D=3D=3D=3D=3D=3DFAQ=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=3DFAQ=3D=3D=3D=3D=3D=3D=3D=3D=3D Does that help? Regards, Neil