Forum: Ruby Mac OS X Intel 10.4.5 readline support

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Aa575b7606897a056f073f0f148804dd?d=identicon&s=25 Gareth Reeves (reevesg)
on 2006-03-12 16:28
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/HowtoInsta...

Gareth
921432719b51a266a06878ff4128a7b1?d=identicon&s=25 Dae San Hwang (Guest)
on 2006-03-12 18:08
(Received via mailing list)
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
10ac092ffea69dbf830f7159b05dfc77?d=identicon&s=25 Mc Osten (Guest)
on 2006-03-13 10:38
(Received via mailing list)
Dae San Hwang 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 (c) 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.
This topic is locked and can not be replied to.