[webkit-help] webkit-gem & gtk2 installation error

Ebru Akagunduz ebru.akagunduz at gmail.com
Sat Feb 9 14:14:08 PST 2013


Hi, i am using Fedora. I want to install webkit-gtk-ruby gem but it gives
me error. Also i tried to install gem gtk2 and i couldn't install them. But
i could install rubyzip gem. I added as attach webkit-gtk-ruby error. Can
you help me? Also i had tried without -v option but i couldn't install.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20130210/fc5761d8/attachment.html>
-------------- next part --------------
[ebru at dhcppc0 ~]$ sudo gem install -v 0.0.5 gtk-webkit-ruby
Building native extensions.  This could take a while...
.............
ERROR:  Error installing gtk-webkit-ruby:
	ERROR: Failed to build gem native extension.

        /usr/bin/ruby extconf.rb
checking for -Wall option to compiler... *** 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.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/bin/ruby
/usr/share/ruby/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /usr/share/ruby/mkmf.rb:491:in `block in try_compile'
	from /usr/share/ruby/mkmf.rb:443:in `with_werror'
	from /usr/share/ruby/mkmf.rb:491:in `try_compile'
	from /usr/share/gems/gems/glib2-1.1.9/lib/mkmf-gnome2.rb:27:in `block in try_compiler_option'
	from /usr/share/ruby/mkmf.rb:790:in `block in checking_for'
	from /usr/share/ruby/mkmf.rb:284:in `block (2 levels) in postpone'
	from /usr/share/ruby/mkmf.rb:254:in `open'
	from /usr/share/ruby/mkmf.rb:284:in `block in postpone'
	from /usr/share/ruby/mkmf.rb:254:in `open'
	from /usr/share/ruby/mkmf.rb:280:in `postpone'
	from /usr/share/ruby/mkmf.rb:789:in `checking_for'
	from /usr/share/gems/gems/glib2-1.1.9/lib/mkmf-gnome2.rb:26:in `try_compiler_option'
	from /usr/share/gems/gems/glib2-1.1.9/lib/mkmf-gnome2.rb:31:in `<top (required)>'
	from /usr/share/rubygems/rubygems/custom_require.rb:60:in `require'
	from /usr/share/rubygems/rubygems/custom_require.rb:60:in `rescue in require'
	from /usr/share/rubygems/rubygems/custom_require.rb:35:in `require'
	from extconf.rb:4:in `<main>'


Gem files will remain installed in /usr/local/share/gems/gems/gtk-webkit-ruby-0.0.5 for inspection.
Results logged to /usr/local/share/gems/gems/gtk-webkit-ruby-0.0.5/ext/webkit/gem_make.out


More information about the webkit-help mailing list