From: Jim Freeze Date: 2003-05-27T00:18:39+09:00 Subject: Re: Possible problem with mkmf under Darwin On Monday, 26 May 2003 at 23:41:56 +0900, Dave Thomas wrote: > I've been having fun getting readline support to work on OSX. My latest > problem is that ext/readline/extconf.rb is complaining: > > checking for readline/readline.h... yes > checking for readline/history.h... yes > checking for readline() in -lreadline... no > Are you using readline from Apple: /System/Library/PrivateFrameworks/readline.framework/readline Fink: /sw/lib/... or one that you built yoursself. IIRC, ext could never find the readline in the Apple path. (BTW, I have posted on this in the ruby-talk archives?) > Is this a generic problem with gcc 3.1, or is it something Apple have > done? And does anyone have any ideas of how to fix this? I currently have given up on fink (for the time being) and downloaded readline from gnu.org. Works fine, but definitely required some manual effort. If I would have worked a little harder the better solution would have been to use the Apple readline. % ruby -v ruby 1.8.0 (2003-02-22) [powerpc-darwin6.4] % irb irb(main):001:0> $" => ["irb.rb", "e2mmap.rb", "irb/init.rb", "irb/context.rb", "irb/workspace.rb", "irb/extend-command.rb", "irb/ruby-lex.rb", "irb/slex.rb", "irb/ruby-token.rb", "irb/input-method.rb", "readline.bundle", "irb/locale.rb", "kconv.rb", "nkf.bundle", "tempfile.rb", "delegate.rb", "irb/completion.rb"] -- Jim Freeze ----------