Skip to content

Instantly share code, notes, and snippets.

@rokoucha
Created May 27, 2017 07:21
Show Gist options
  • Save rokoucha/db5929979ddde5460df42f11f0137306 to your computer and use it in GitHub Desktop.
Save rokoucha/db5929979ddde5460df42f11f0137306 to your computer and use it in GitHub Desktop.
Fuck you gem
Installing gtk2 3.1.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/atnanasi/mikutter/vendor/bundle/ruby/2.4.0/gems/gtk2-3.1.1/ext/gtk2
/usr/bin/ruby -r ./siteconf20170527-5904-1o1fm27.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... no
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for rb_errinfo()... yes
checking for cairo... yes
checking for rb_cairo.h... yes
checking for Windows... no
checking for gtk+-2.0 version (>= 2.10.0)... yes
checking for st.h... yes
checking for ruby/st.h... yes
checking for target... *** 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}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--enable-debug-build
--disable-debug-build
--with-pkg-config
--without-pkg-config
--with-override-variables
--without-override-variables
extconf.rb:80:in `<main>': can't find gdkkeysyms.h (RuntimeError)
x11
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/atnanasi/mikutter/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/gtk2-3.1.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/atnanasi/mikutter/vendor/bundle/ruby/2.4.0/gems/gtk2-3.1.1 for
inspection.
Results logged to
/home/atnanasi/mikutter/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/gtk2-3.1.1/gem_make.out
An error occurred while installing gtk2 (3.1.1), and Bundler cannot continue.
Make sure that `gem install gtk2 -v '3.1.1'` succeeds before bundling.
In Gemfile:
webkit-gtk2 was resolved to 3.1.1, which depends on
gtk2
@rokoucha
Copy link
Author

ls /usr/include/gtk-2.0/gdk/gdkkeysymsh
/usr/include/gtk-2.0/gdk/gdkkeysyms.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment