bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile-1.8.4 compile bug Mac OS X 10.4.11 PPC G4


From: Neil Jerram
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
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi,
>
> Hans Aberg <address@hidden> writes:
>
>> Guile-1.8.4 does not compile on Mac OS X 10.4.11 PPC G4 (see below).
>
>> readline.c:109: error: ‘rl_pending_input’ 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:

=========>8===========
** 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.
=========>8===========

Regards,
        Neil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]