一生全力モラトリアム

Long long time is ago.

ぞく

gtk2周りが微妙だったんでもう一度実行。
http://www.gtk.org/download/win64.php
からGTK+ダウンロード、libgtk-win32-2.0-0/libgailutil-18/あたりを上書き。
うーんだけど駄目。

icrosoft Windows [Version 6.1.7601]
opyright (c) 2009 Microsoft Corporation. All rights

:\Users\limelite>ruby -v
uby 1.8.7 (2009-12-24 patchlevel 248) [i386-mswin32]

:\Users\limelite>gem install gtk2
uilding native extensions. This could take a while..
RROR: Error installing gtk2:
ERROR: Failed to build gem native extension.

:/rumix/ruby/bin/ruby.exe extconf.rb
hecking for -Wall option to compiler... no
hecking for -Waggregate-return option to compiler...
hecking for -Wcast-align option to compiler... no
hecking for -Wextra option to compiler... no
hecking for -Wformat=2 option to compiler... no
hecking for -Winit-self option to compiler... no
hecking for -Wlarger-than-65500 option to compiler...
hecking for -Wmissing-declarations option to compiler
hecking for -Wmissing-format-attribute option to comp
hecking for -Wmissing-include-dirs option to compiler
hecking for -Wmissing-noreturn option to compiler...
hecking for -Wmissing-prototypes option to compiler..
hecking for -Wnested-externs option to compiler... no
hecking for -Wold-style-definition option to compiler
hecking for -Wpacked option to compiler... no
hecking for -Wp,-D_FORTIFY_SOURCE=2 option to compile
hecking for -Wpointer-arith option to compiler... no
hecking for -Wswitch-default option to compiler... no
hecking for -Wswitch-enum option to compiler... no
hecking for -Wundef option to compiler... no
hecking for -Wunsafe-loop-optimizations option to com
hecking for -Wwrite-strings option to compiler... no
hecking for rb_define_alloc_func() in ruby.h... no
hecking for rb_block_proc() in ruby.h... no
hecking for new allocation framework... yes
hecking for attribute assignment... no
hecking for Win32 OS... yes
hecking for gobject-2.0... no
hecking for brew... no
hecking for port... no

extconf.rb failed ***

ould not create Makefile due to some reason, probably
ecessary libraries and/or headers. Check the mkmf.lo
etails. You may need configuration options.

rovided 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
--srcdir=.
--curdir
--ruby=C:/rumix/ruby/bin/ruby
--with-pkg-config
--without-pkg-config
--with-override-variables
--without-override-variables


em files will remain installed in C:/rumix/ruby/lib/r
.9 for inspection.
esults logged to C:/rumix/ruby/lib/ruby/gems/1.8/gems
make.out

:\Users\limelite>
:\Users\limelite>
:\Users\limelite>
:\Users\limelite>ruby -e "require 'gtk2'
e:1:in `require': no such file to load -- gtk2 (LoadE
from -e:1

:\Users\limelite>ruby -e "require 'gtk2'"
e:1:in `require': no such file to load -- gtk2 (LoadE
from -e:1

\Users\limelite>ruby -e "require 'gtk2';Gtk
:Window.

e:1:in `require': no such file to load -- gtk2 (LoadE
from -e:1

:\Users\limelite>gem install ruby-hmac
uccessfully installed ruby-hmac-0.4.0
gem installed
nstalling ri documentation for ruby-hmac-0.4.0...
nstalling RDoc documentation for ruby-hmac-0.4.0...

:\Users\limelite>ruby -e "require 'gtk2'"
e:1:in `require': no such file to load -- gtk2 (LoadE
from -e:1

:\Users\limelite>gem install ruby-hmac
uccessfully installed ruby-hmac-0.4.0
gem installed
nstalling ri documentation for ruby-hmac-0.4.0...
nstalling RDoc documentation for ruby-hmac-0.4.0...

:\Users\limelite>
:\Users\limelite>ruby mikutter.rb
uby: No such file or directory -- mikutter.rb (LoadEr

:\Users\limelite>setrbvars.bat
uby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]

:\Users\limelite>mikutter.rb
mikutter.rb' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識され

\Users\limelite>C
\mikutter

C:\mikutter' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識され

\Users\limelite>cd c
\mikutter

:\mikutter>mikutter.rb
アクセスが拒否されました。

:\mikutter>mikutter.rb
アクセスが拒否されました。

:\mikutter>gem install gtk2
etching: pkg-config-1.1.4.gem (100%)
etching: glib2-1.1.9-x86-mingw32.gem (100%)
etching: atk-1.1.9-x86-mingw32.gem (100%)
etching: cairo-1.12.3-x86-mingw32.gem (100%)
etching: pango-1.1.9-x86-mingw32.gem (100%)
etching: gdk_pixbuf2-1.1.9-x86-mingw32.gem (100%)
etching: gtk2-1.1.9-x86-mingw32.gem (100%)
uccessfully installed pkg-config-1.1.4
uccessfully installed glib2-1.1.9-x86-mingw32
uccessfully installed atk-1.1.9-x86-mingw32
uccessfully installed cairo-1.12.3-x86-mingw32
uccessfully installed pango-1.1.9-x86-mingw32
uccessfully installed gdk_pixbuf2-1.1.9-x86-mingw32
uccessfully installed gtk2-1.1.9-x86-mingw32
gems installed
nstalling ri documentation for pkg-config-1.1.4...
nstalling ri documentation for glib2-1.1.9-x86-mingw3
nstalling ri documentation for atk-1.1.9-x86-mingw32.
nstalling ri documentation for cairo-1.12.3-x86-mingw
nstalling ri documentation for pango-1.1.9-x86-mingw3
nstalling ri documentation for gdk_pixbuf2-1.1.9-x86-
nstalling ri documentation for gtk2-1.1.9-x86-mingw32
nstalling RDoc documentation for pkg-config-1.1.4...
nstalling RDoc documentation for glib2-1.1.9-x86-ming
nstalling RDoc documentation for atk-1.1.9-x86-mingw3
nstalling RDoc documentation for cairo-1.12.3-x86-min
nstalling RDoc documentation for pango-1.1.9-x86-ming
nstalling RDoc documentation for gdk_pixbuf2-1.1.9-x8
nstalling RDoc documentation for gtk2-1.1.9-x86-mingw

:\mikutter>mikutter.rb
アクセスが拒否されました。

:\mikutter>

プログラミングは考えてる最中は地獄なんだけどうまく実行されると超楽しいんだよね…。まぞい。まぞい。