From: "José Ignacio" Date: 2008-11-21T04:48:43+09:00 Subject: Re: Trouble with Readline and Building Ruby 1.9 I managed to install Ruby 1.9 using MacPorts: $ sudo ports install ruby19 For those interested, I think MacPorts uses the same procedure as shown here: http://programblings.com/2008/11/18/installing-ruby-19preview1-on-os-x-leopard/ José Ignacio wrote: > I have the same problems as listed here (Ruby 1.9 + Leopard). I have > succesfully installed readline 5.2 using make static-install. But when > compiling Ruby 1.9 I get the same result as Yudi and Tadatoshi. Did you > finally manage to install Ruby 1.9 in Leopard? > > Moreover, ruby 1.9.0-5 's configure doesn't support with-readline-dir > option. Anyway, i tried both 1.9.0-0 (which seems to support > with-readline-dir option) and 1.9.0-5 and I get the same result with > both approaches: > > readline.c: In function ‘filename_completion_proc_call’: > readline.c:659: error: ‘filename_completion_function’ undeclared (first > use in this function) > readline.c:659: error: (Each undeclared identifier is reported only once > readline.c:659: error: for each function it appears in.) > readline.c:659: warning: assignment makes pointer from integer without a > cast > readline.c: In function ‘username_completion_proc_call’: > readline.c:684: error: ‘username_completion_function’ undeclared (first > use in this function) > readline.c:684: warning: assignment makes pointer from integer without a > cast -- Posted via http://www.ruby-forum.com/.