From: Kouhei S. <ko...@co...> - 2013-03-17 12:25:42
|
須藤です。 In <CAGePtin-yqXNVMza+kgn5Kft6aDxwZgpDr=b7s...@ma...> "Re: [ruby-gnome2-devel-ja] Windowsへのinstallでエラー" on Sun, 17 Mar 2013 19:42:28 +0900, whiteleaf <2nd...@gm...> wrote: > 1.2.3ではRuby 1.9.3でもrequireできるようになっているはずです! > > ruby1.9.3でインストール及び動作確認(ウィンドウ表示しただけですが)が出来ました > 、ありがとうございます。 よかったです! > > ■ruby 2.0.0 (32bit版) > > gtk2 のインストール途中で止まる > > これは、おかしいですね。。。 > パッケージを作りなおしたのでもう一度試してもらえますか? > > c:\Application\Ruby>gem install gtk2 > Fetching: glib2-1.2.3-x86-mingw32.gem (100%) > Successfully installed glib2-1.2.3-x86-mingw32 > Fetching: atk-1.2.3-x86-mingw32.gem (100%) > Successfully installed atk-1.2.3-x86-mingw32 > Fetching: pango-1.2.3-x86-mingw32.gem (100%) > Successfully installed pango-1.2.3-x86-mingw32 > Fetching: gdk_pixbuf2-1.2.3-x86-mingw32.gem (100%) > Successfully installed gdk_pixbuf2-1.2.3-x86-mingw32 > Fetching: gtk2-1.2.3.gem (100%) > ERROR: Error installing gtk2: > The 'gtk2' native gem requires installed build tools. > > Please update your PATH to include build tools or download the DevKit > from 'http://rubyinstaller.org/downloads' and follow the instructions > at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit' > > また同じエラーが出てしまいました。ちなみに DevKit はインストールしていません。 > 複雑な構成のgemはいまいちよくわからないので調査追跡が出来ずに申し訳ありません。 うーん、gtk2だけx86-mingw32の方じゃなくてソースしか入ってい ない方をfetchしていますねぇ。Webからだとちゃんとあるんですけ ど。。。 https://rubygems.org/gems/gtk2/versions/1.2.3-x86-mingw32 これだとどうなりますか? gem install gtk2 --platform=x86-mingw32 > あと、これは全くこっちの環境のせいなのですが、 > アンチウィルスソフトの Avast 8.0 で > > Infection Details > URL: http://tokyo-m.rubygems.org/gems/gdk_pixbuf2-1.2.3-x86-mingw32.gem| > data.tar.gz|data.tar|vendor\local\bin\gdk-pixbuf-pixdata.exe > Process: C:\Application\Ruby193_rbi\bin\ruby.exe > Infection: Win32:Malware-gen > > と pixbuf2 がマルウェアと認識されて止まります。インストール時だけAvast止めてイ > ンストールしました。 おぉ。。。切ないですねぇ。。。 |