Windows 8.1, Ruby 2.6.3 に gtk2
ここのいうとおりやる。
ここから「msys2-x86_64-20190524.exe」をダウンロード、実行。ページのいうとおりやる。
「C:\msys64\msys2.exe」から「$ pacman -S mingw-w64-x86_64-gtk2」を実行。
「$ bundle install」
あかん。mkmf.log。
checking for --enable-debug-build option... -------------------- no -------------------- try_compiler_option: checking for -Wall option to compiler... -------------------- no "x86_64-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26-x64/include/ruby-2.6.0/x64-mingw32 -IC:/Ruby26-x64/include/ruby-2.6.0/ruby/backward -IC:/Ruby26-x64/include/ruby-2.6.0 -I. -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math conftest.c -L. -LC:/Ruby26-x64/lib -L. -pipe -s -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include <winsock2.h> 4: #include <windows.h> 5: int main(int argc, char **argv) 6: { 7: return 0; 8: } /* end */ -------------------- setup_homebrew: checking for Homebrew... -------------------- no -------------------- have_package: checking for gobject-2.0 version (>= 2.12.0)... -------------------- no -------------------- "pacman.exe -S --noconfirm mingw-w64-x86_64-glib2" エラー: 処理を始められませんでした (データベースをロックできません) エラー: データベースをロックできませんでした: File exists パッケージマネージャを動かしてないのなら /var/lib/pacman/db.lck を削除することができます installing 'mingw-w64-x86_64-glib2' native package... failed Failed to run 'pacman.exe -S --noconfirm mingw-w64-x86_64-glib2'. --------------------