From: Ruby Student Date: 2011-05-05T03:21:16+09:00 Subject: Re: Problem installing shoes3 on RHEL 6 --bcaec520f2f370065404a277524b Content-Type: text/plain; charset=ISO-8859-1 Well gents, After 10 hours of playing with this, I thought I got it. I passed the mechanize, the libxml2, the openssl, the /osama/bin/laden, etc. And just when I thought T had it, I got the following. Please notice that I am only copying a small segment (the end) of the output, which I think is the relevant part: rm -f dist/shoes rm -f dist/shoes-bin gcc -Ldist -o dist/shoes-bin bin/main.o -lruby -lcairo -lpangocairo-1.0 -lungif -ljpeg -lrt -L/usr/local/lib -lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lshoes -L. -rdynamic -Wl,-export-dynamic bin/main.o: In function `main': main.c:(.text+0x64): undefined reference to `ruby_snprintf' main.c:(.text+0xa7): undefined reference to `ruby_run_node' dist/libshoes.so: undefined reference to `ruby_vsnprintf' dist/libshoes.so: undefined reference to `rb_str_new_cstr' dist/libshoes.so: undefined reference to `rb_intern2' collect2: ld returned 1 exit status rake aborted! Command failed with status (1): [gcc -Ldist -o dist/shoes-bin bin/main.o -l...] /usr/local/lib/ruby/1.9.1/rake.rb:993:in `block in sh' /usr/local/lib/ruby/1.9.1/rake.rb:1008:in `call' /usr/local/lib/ruby/1.9.1/rake.rb:1008:in `sh' /usr/local/lib/ruby/1.9.1/rake.rb:1092:in `sh' /usr/local/shoes/make/linux/tasks.rb:45:in `make_app' /usr/local/shoes/Rakefile:113:in `block in ' /usr/local/lib/ruby/1.9.1/rake.rb:632:in `call' /usr/local/lib/ruby/1.9.1/rake.rb:632:in `block in execute' /usr/local/lib/ruby/1.9.1/rake.rb:629:in `each' /usr/local/lib/ruby/1.9.1/rake.rb:629:in `execute' /usr/local/lib/ruby/1.9.1/rake.rb:595:in `block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' /usr/local/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/rake.rb:605:in `block in invoke_prerequisites' /usr/local/lib/ruby/1.9.1/rake.rb:602:in `each' /usr/local/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites' /usr/local/lib/ruby/1.9.1/rake.rb:594:in `block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' /usr/local/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/rake.rb:605:in `block in invoke_prerequisites' /usr/local/lib/ruby/1.9.1/rake.rb:602:in `each' /usr/local/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites' /usr/local/lib/ruby/1.9.1/rake.rb:594:in `block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' /usr/local/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/rake.rb:605:in `block in invoke_prerequisites' /usr/local/lib/ruby/1.9.1/rake.rb:602:in `each' /usr/local/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites' /usr/local/lib/ruby/1.9.1/rake.rb:594:in `block in invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' /usr/local/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain' /usr/local/lib/ruby/1.9.1/rake.rb:581:in `invoke' /usr/local/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task' /usr/local/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level' /usr/local/lib/ruby/1.9.1/rake.rb:2019:in `each' /usr/local/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level' /usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling' /usr/local/lib/ruby/1.9.1/rake.rb:2013:in `top_level' /usr/local/lib/ruby/1.9.1/rake.rb:1992:in `run' /usr/local/bin/rake:31:in `
' Thank you On Wed, May 4, 2011 at 12:59 PM, Steve Klabnik wrote: > You have to then reinstall 1.9.2 after installing openssl-devel for it to > build a ruby with it. ;) > Also, > /usr/local/lib/ruby/gems/1.9.1/gems/mechanize-1.0.0/lib/mechanize.rb:2:in > `' suggests that you're still using your system Ruby, > rather > than the rvm one, as it's usuall ~/.rvm/... > -- Ruby Student --bcaec520f2f370065404a277524b--