- 论坛徽章:
- 0
|
谢谢瓜版。还是没搞定
#rpm -qa|grep ruby
ruby-irb-1.8.6.399-2.el5
ruby-1.8.6.399-2.el5
ruby-rdoc-1.8.6.399-2.el5
ruby-devel-1.8.6.399-2.el5
ruby-libs-1.8.6.399-2.el5
rubygems-1.3.5-1.el5
#gem install gtk2
Building native extensions. This could take a while...
ERROR: Error installing gtk2:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for GCC... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
checking for Win32 OS... no
checking for gobject-2.0... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
是不是一定要装xwin啊??我的是在服务器上装的。 |
|