From: ts Date: 2001-09-22T23:41:58+09:00 Subject: [ruby-talk:21539] Re: irb >>>>> "F" == Fabio writes: F> Another thing that may be involved is this: if I uncomment the lines F> #tk F> and F> #tcltklib F> from ext/Setup You must *NOT* modify ext/Setup Here a normal compilation : pigeon% make [...] compiling readline make[1]: Entering directory `/h/nblg/ts/ruby/ruby-1.6.5/ext/readline' gcc -fPIC -g -O2 -I/h/nblg/ts/ruby/ruby-1.6.5 -I/h/nblg/ts/ruby/ruby-1.6.5 -I/usr/local/include -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -c readline.c gcc -shared -L/h/nblg/ts/ruby/ruby-1.6.5 -o readline.so readline.o -lreadline -lncurses -lc make[1]: Leaving directory `/h/nblg/ts/ruby/ruby-1.6.5/ext/readline' [...] pigeon% Try cd ext/readline ruby extconf.rb abd see the messages given. For me it's pigeon% cd ext/readline pigeon% ruby extconf.rb checking for tgetnum() in -lncurses... yes checking for readline/readline.h... yes checking for readline/history.h... yes checking for readline() in -lreadline... yes checking for rl_filename_completion_function()... no creating Makefile pigeon% Guy Decoux