On May 19, 2005, at 7:58 PM, Shugo Maeda wrote:

> Hi,
>
> Mark Hubbart wrote:
>
>> It doesn't work on my tiger install. libedit's header file seems  
>> to be
>> /usr/include/histedit.h.
>>
>
> The original libedit provides a compatibility layer for the GNU  
> Readline
> API by readline.h.
> If /usr/include/readline/readline.h doesn't exist on Tiger, extconf.rb
> of ruby-1.8.2 doesn't create Makefile, so you can't see compile  
> errors.
> Is your installation of Tiger different from Jules and Ryan?

To do a much more concise summary of what I think the problem is:

BAD:

% rm -f .ext/powerpc-darwin8.1.0/readline.bundle ext/readline/ 
{Makefile,*.{o,bundle}}; make; echo "1+1" | ./ruby -Ilib:.ext/powerpc- 
darwin8.1.0 bin/irb

GOOD:

% rm -f .ext/powerpc-darwin8.1.0/readline.bundle ext/readline/ 
{Makefile,*.{o,bundle}}; (cd ext/readline; ../../ruby extconf.rb ;  
make); echo "1+1" | ./ruby -Ilib:ext/readline bin/irb