Skip to content

Instantly share code, notes, and snippets.

@semikolon
Created December 19, 2008 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semikolon/38159 to your computer and use it in GitHub Desktop.
Save semikolon/38159 to your computer and use it in GitHub Desktop.
fredrik@Benton ‣ svn co http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_111/ext/readline/ readline
A readline/depend
A readline/readline.c
A readline/README.ja
A readline/extconf.rb
A readline/.cvsignore
A readline/README
U readline
Checkade ut revision 20886.
fredrik@Benton ‣ readline ~/Code/RoR
fredrik@Benton ‣ .. ~/Code/RoR/readline
fredrik@Benton ‣ curl http://pastie.textmate.org/pastes/168767/download | patch readline/extconf.rb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 457 0 --:--:-- --:--:-- --:--:-- 0
patching file readline/extconf.rb
fredrik@Benton ‣ cd readline ~/Code/RoR
fredrik@Benton ‣ ruby extconf.rb ~/Code/RoR/readline
checking for tgetnum() in -lncurses... no
checking for tgetnum() in -ltermcap... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline() in -lreadline... no
checking for readline() in -ledit... yes
checking for rl_filename_completion_function in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_username_completion_function in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completion_matches in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_deprep_term_function in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completion_append_character in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_basic_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completer_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_basic_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completer_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_filename_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_attempted_completion_over in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_library_version in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_event_hook in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_cleanup_after_signal()... yes
checking for rl_clear_signals()... no
checking for rl_vi_editing_mode()... no
checking for rl_emacs_editing_mode()... no
checking for rl_clear_signals()... no
checking for replace_history_entry()... yes
checking for remove_history()... yes
creating Makefile
fredrik@Benton ‣ make ~/Code/RoR/readline
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_USERNAME_COMPLETION_FUNCTION -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS -DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS -DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS -DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK -DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_REPLACE_HISTORY_ENTRY -DHAVE_REMOVE_HISTORY -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I/opt/local/include -c readline.c
cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup -o readline.bundle readline.o -L"." -L"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib" -L. -arch ppc -arch i386 -L/opt/local/lib -lruby -ledit -ltermcap -lpthread -ldl -lm
fredrik@Benton ‣ sudo make install ~/Code/RoR/readline
Password:
/usr/bin/install -c -m 0755 readline.bundle /Library/Ruby/Site/1.8/universal-darwin9.0
fredrik@Benton ‣ irb ~/Code/RoR/readline
irb(main):001:0> % fredrik@Benton ‣ ~td ~/Code/RoR/readline
fredrik@Benton ‣ Rconsole ~td
Loading development environment (Rails 2.2.2)
/Library/Ruby/Site/1.8/universal-darwin9.0/readline.bundle: dlopen(/Library/Ruby/Site/1.8/universal-darwin9.0/readline.bundle, 9): Symbol not found: _rl_filename_completion_function (LoadError)
Referenced from: /Library/Ruby/Site/1.8/universal-darwin9.0/readline.bundle
Expected in: dynamic lookup
- /Library/Ruby/Site/1.8/universal-darwin9.0/readline.bundle from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/completion.rb:10
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:253:in `load_modules'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:251:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:251:in `load_modules'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/bin/irb:13
fredrik@Benton ‣ /Library/Ruby/Site/1.8/universal-darwin9.0/ ~td
fredrik@Benton ‣ l /Library/Ruby/Site/1.8/universal-darwin9.0
readline.bundle* svn/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment