Re: guile-2.0.0 crash when started on MacOS X 10.6.0

2011-03-06 Thread Steven Wu
I am using the gnu readline-6.1. I checked the dynamic lib in /usr/lib, and the 
symbolic link points to the right library. I guess I need to check if the 
header file is the right one. I'll dig a little deeper later tonight.

steve
On Mar 6, 2011, at 7:08 AM, Hans Aberg wrote:

> On 6 Mar 2011, at 11:02, Andy Wingo wrote:
> 
>> The solution is to use GNU readline, not the editline-based thing that
>> Apple ships.
> 
> This is a notorious problem - perhaps configure should check the different 
> types. From what I could see, editline is a BSD fork of readline that no 
> longer is compatible it seems. 
> 
> Hans
> 




Re: guile-2.0.0 crash when started on MacOS X 10.6.0

2011-03-06 Thread Hans Aberg
On 6 Mar 2011, at 11:02, Andy Wingo wrote:

> The solution is to use GNU readline, not the editline-based thing that
> Apple ships.

This is a notorious problem - perhaps configure should check the different 
types. From what I could see, editline is a BSD fork of readline that no longer 
is compatible it seems. 

Hans




Re: guile-2.0.0 crash when started on MacOS X 10.6.0

2011-03-06 Thread Andy Wingo
On Sun 06 Mar 2011 02:03, Steven Wu  writes:

> I stopped in the function, and it seems to be correct. I checked to the
> map, and the value was right, it wasn't NULL. I tried to stop in strncmp
> and see what that parameters were. Wasn't very successful the first
> tried. I haven't used gdb for a while, and need to refresh it.

The solution is to use GNU readline, not the editline-based thing that
Apple ships.

Andy
-- 
http://wingolog.org/