Mac OS X Intel 10.4.5 readline support


#1

Does anyone know how to get readline support working for an Intel
10.4.5?

This package doesn’t work.
http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnOSXTiger

Gareth


#2

Readline library is already there. (It’s not GNU’s, I think it’s
NetBSD’s.)

Tiger’s default ruby installation doesn’t use it however. If you
compile ruby 1.8.4 from the source, irb will have readline support
enabled automatically.

daesan


#3

Dae San H. ha scritto:

(It’s not GNU’s, I think it’s NetBSD’s.)

Yes, you are right.

head /usr/include/readline/readline.h
/* $NetBSD: readline.h,v 1.11 2004/01/17 17:57:40 christos Exp $
*/

/*-

  • Copyright © 1997 The NetBSD Foundation, Inc.
  • All rights reserved.

However it’s not perfectly gnu-compatible. I haven’t tried with ruby (I
installed readline 5 from sources), but with GiNaC interpreter it does
not compile.