# cd ext
# ruby extconf.rb && make
+If that fails on missing GTK header file (gtk.h), you can try to
+inject cflags with such a command:
+
+ # perl -pi -e 's/(CXXFLAGS.*)/$1 `pkg-config --cflags gtk+-2.0`/' Makefile
+ # make
+
+If that still fails on redefinition of struct re_registers, you can
+try to workaround with:
+
+ # cp /usr/include/ruby-2.3.0/ruby.h .
+ # perl -pi -e 's/.*HAVE_RUBY_ENCODING_H.*//' ruby.h
+ # make
+
And type this as superuser:
$ ruby setup.rb install