Michael Fellinger wrote: > On Sat, Aug 21, 2010 at 7:10 PM, R.. Kumar 1.9.1 OSX > <sentinel1879 / gmail.com> wrote: >> Christoph Kappel wrote: >>> ---- On Sat, 21 Aug 2010 08:17:32 +0200 R.. Kumar 1.9.1 OSX wrote ---- >>>>Someone told me that STR2CSTR has been removed. Could someone tell me >>>>what I should replace STR2CSTR with in the ncurses code, or what to do. >>>>I am not familiar with the Ruby-C interface, and would appreciate some >>>>pointers. > > http://github.com/seanohalpin/ffi-ncurses Is anything other than ncurses port required to be installed ? I get: $ ruby example.rb .rvm/gems/ruby-1.9.2-head/gems/ffi-0.6.3/lib/ffi/library.rb:61:in `block in ffi_lib': Could not open library 'libncurses.so.5': dlopen(libncurses.so.5, 5): image not found. Could not open library 'libncurses.so.5.dylib': dlopen(libncurses.so.5.dylib, 5): image not found (LoadError) $ mdfind -name 'libncurses.' /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libncurses.5.4.dylib /usr/lib/libncurses.5.4.dylib /usr/lib/libncurses.5.dylib /opt/local/lib/libncurses.5.dylib /opt/local/lib/libncurses.a $ port installed | grep ncurse ncurses @5.7_0+darwin_10 (active) ncursesw @5.7_0+darwin_10 (active) -- Posted via http://www.ruby-forum.com/.