bug-guile
[Top][All Lists]
Advanced

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

guile and readline-5.1


From: Charles Ballard
Subject: guile and readline-5.1
Date: Fri, 10 Mar 2006 10:22:02 +0000

Dear All,

I am a newbie to this list, so please forgive me if this is old hat. I did check the archives and did a google search on the subject.

I have been trying to get guile up on a macTel box. I initially started with 1.8, but my libtool could not handle guile.c line 91, so dropped back to 1.6.7. After the standard guile.c hack (array to pointer), and _SOCKLEN_T defines, I hit the usual editline vs readline library problem. To get around this I downloaded 5.1 from the gnu site, which resolved all bar one of the issues. _rl_init_argument seems to have been replaced by _rl_reset_argument. So

diff readline.c-orig readline.c
94a95,97
> #if defined (RL_VERSION_MAJOR) && ( RL_VERSION_MAJOR > 4)
> extern int _rl_reset_argument ();
> #else
95a99
> #endif
123c127,131
<   _rl_init_argument ();
---
> #if defined (RL_VERSION_MAJOR) && ( RL_VERSION_MAJOR > 4)
>   _rl_reset_argument ();
> #else
>   _rl_init_argument()
> #endif

gets around the compilation at least.

Charles Ballard






reply via email to

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