ダウンロードして解凍。解凍してできたディレクトリに移動して、内容を確認。
$ wget http://www.weechat.org/files/src/weechat-0.3.4.tar.bz2 --2011-01-16 18:35:39-- http://www.weechat.org/files/src/weechat-0.3.4.tar.bz2 Resolving www.weechat.org... 178.63.40.67 Connecting to www.weechat.org|178.63.40.67|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1936679 (1.8M) [application/x-bzip2] Saving to: `weechat-0.3.4.tar.bz2' 100%[==========================================>] 1,936,679 498K/s in 3.8s 2011-01-16 18:35:44 (498 KB/s) - `weechat-0.3.4.tar.bz2' saved [1936679/1936679] $ tar jxf weechat-0.3.4.tar.bz2 $ cd weechat-0.3.4/
いつも通りINSTALLファイルを読んでビルドの手順をチェックする。推奨されるインストール方法はCMakeという記述があるので、こちらでインストール。
$ cat INSTALL
野良ビルドしたプログラムのインストール先(この下にbinとかlibとか作られる。)は/usr/localなので、PREFIXオプションは、-DPREFIX=/usr/local とする(PREFIXを/usr/local/binにするのは間違い)。ICONV_2ARG_IS_CONSTのテストに失敗したといわれるけど、先に進む。前のバージョンでもこのエラーが出た。関連あるか解らないけれど、いくつかの日本語が化けることがあった。iconvだしなんとなく関連ありそう。
$ mkdir build $ cd build $ cmake .. -DPREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug -- The C compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Looking for include files HAVE_ARPA_INET_H -- Looking for include files HAVE_ARPA_INET_H - found -- Looking for include files HAVE_LIMITS_H -- Looking for include files HAVE_LIMITS_H - found -- Looking for include files HAVE_LOCALE_H -- Looking for include files HAVE_LOCALE_H - found -- Looking for include files HAVE_NETDB_H -- Looking for include files HAVE_NETDB_H - found -- Looking for include files HAVE_NETINET_IN_H -- Looking for include files HAVE_NETINET_IN_H - found -- Looking for include files HAVE_STDLIB_H -- Looking for include files HAVE_STDLIB_H - found -- Looking for include files HAVE_STRING_H -- Looking for include files HAVE_STRING_H - found -- Looking for include files HAVE_SYS_SOCKET_H -- Looking for include files HAVE_SYS_SOCKET_H - found -- Looking for include files HAVE_SYS_TIME_H -- Looking for include files HAVE_SYS_TIME_H - found -- Looking for include files HAVE_SYS_TYPES_H -- Looking for include files HAVE_SYS_TYPES_H - found -- Looking for include files HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - found -- Looking for include files HAVE_PWD_H -- Looking for include files HAVE_PWD_H - found -- Looking for include files HAVE_ERRNO_H -- Looking for include files HAVE_ERRNO_H - found -- Looking for include files HAVE_WCHAR_H -- Looking for include files HAVE_WCHAR_H - found -- Looking for include files HAVE_LANGINFO_CODESET -- Looking for include files HAVE_LANGINFO_CODESET - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostname -- Looking for gethostname - found -- Looking for getsockname -- Looking for getsockname - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for inet_ntoa -- Looking for inet_ntoa - found -- Looking for memset -- Looking for memset - found -- Looking for mkdir -- Looking for mkdir - found -- Looking for select -- Looking for select - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for socket -- Looking for socket - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strchr -- Looking for strchr - found -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strpbrk -- Looking for strpbrk - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strstr -- Looking for strstr - found -- Looking for include files HAVE_REGEX_H -- Looking for include files HAVE_REGEX_H - found -- Looking for regexec -- Looking for regexec - found -- Looking for include files HAVE_LIBINTL_H -- Looking for include files HAVE_LIBINTL_H - found -- Looking for dgettext -- Looking for dgettext - found -- Looking for iconv_open -- Looking for iconv_open - found -- Performing Test ICONV_2ARG_IS_CONST -- Performing Test ICONV_2ARG_IS_CONST - Failed -- Looking for include files HAVE_SYS_FILE_H -- Looking for include files HAVE_SYS_FILE_H - found -- Looking for flock -- Looking for flock - found -- Looking for backtrace -- Looking for backtrace - found -- Found Tclsh: /usr/bin/tclsh -- Looking for include files NCURSESW_HEADERS -- Looking for include files NCURSESW_HEADERS - found -- Configuring done -- Generating done -- Build files have been written to: /***********/weechat-0.3.4/build
エラー出ているけど、前のバージョンでも同じエラーが出て、大きな問題は無かったから、先に進む。カラフルなメッセージとプログレスが表示されてmakeは終了。
$ make Scanning dependencies of target translations [ 0%] Generating PO template file [ 0%] Compiling locales (fr) 1473 translated messages. [ 0%] Compiling locales (es) 1473 translated messages. [ 0%] Compiling locales (cs) 1319 translated messages, 115 fuzzy translations, 39 untranslated messages. [ 0%] Compiling locales (hu) 184 translated messages, 909 fuzzy translations, 380 untranslated messages. [ 0%] Compiling locales (de) 1473 translated messages. [ 0%] Compiling locales (ru) 187 translated messages, 912 fuzzy translations, 374 untranslated messages. [ 0%] Compiling locales (pl) 1473 translated messages. [ 0%] Compiling locales (it) 1473 translated messages. [ 0%] Compiling locales (pt_BR) 272 translated messages, 36 fuzzy translations, 1165 untranslated messages. [ 7%] Built target translations Scanning dependencies of target weechat_core [ 8%] Building C object src/core/CMakeFiles/weechat_core.dir/weechat.o [ 8%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-backtrace.o [ 9%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-command.o [ 10%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-completion.o [ 11%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-config.o [ 11%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-config-file.o [ 12%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-debug.o [ 13%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-hashtable.o [ 14%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-hook.o [ 14%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-infolist.o [ 15%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-input.o [ 16%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-list.o [ 17%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-log.o [ 17%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-network.o [ 18%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-proxy.o [ 19%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-string.o [ 20%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-upgrade.o [ 20%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-upgrade-file.o [ 21%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-utf8.o [ 22%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-util.o Linking C static library libweechat_core.a [ 22%] Built target weechat_core Scanning dependencies of target weechat_plugins [ 23%] Building C object src/plugins/CMakeFiles/weechat_plugins.dir/plugin.o [ 23%] Building C object src/plugins/CMakeFiles/weechat_plugins.dir/plugin-api.o [ 24%] Building C object src/plugins/CMakeFiles/weechat_plugins.dir/plugin-config.o Linking C static library libweechat_plugins.a [ 24%] Built target weechat_plugins Scanning dependencies of target alias [ 25%] Building C object src/plugins/alias/CMakeFiles/alias.dir/alias.o [ 26%] Building C object src/plugins/alias/CMakeFiles/alias.dir/alias-config.o [ 26%] Building C object src/plugins/alias/CMakeFiles/alias.dir/alias-info.o Linking C shared module alias.so [ 26%] Built target alias Scanning dependencies of target aspell [ 27%] Building C object src/plugins/aspell/CMakeFiles/aspell.dir/weechat-aspell.o [ 28%] Building C object src/plugins/aspell/CMakeFiles/aspell.dir/weechat-aspell-config.o [ 29%] Building C object src/plugins/aspell/CMakeFiles/aspell.dir/weechat-aspell-speller.o Linking C shared module aspell.so [ 29%] Built target aspell Scanning dependencies of target charset [ 29%] Building C object src/plugins/charset/CMakeFiles/charset.dir/charset.o Linking C shared module charset.so [ 29%] Built target charset Scanning dependencies of target fifo [ 30%] Building C object src/plugins/fifo/CMakeFiles/fifo.dir/fifo.o [ 31%] Building C object src/plugins/fifo/CMakeFiles/fifo.dir/fifo-info.o Linking C shared module fifo.so [ 31%] Built target fifo Scanning dependencies of target irc [ 32%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc.o [ 32%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-bar-item.o [ 33%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-buffer.o [ 34%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-channel.o [ 35%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-color.o [ 35%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-command.o [ 36%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-completion.o [ 37%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-config.o [ 38%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-ctcp.o [ 38%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-debug.o [ 39%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-display.o [ 40%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-ignore.o [ 41%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-info.o [ 41%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-input.o [ 42%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-message.o [ 43%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-mode.o [ 44%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-msgbuffer.o [ 44%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-nick.o [ 45%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-notify.o [ 46%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-protocol.o [ 47%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-raw.o [ 47%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-redirect.o [ 48%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-sasl.o [ 49%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-server.o [ 50%] Building C object src/plugins/irc/CMakeFiles/irc.dir/irc-upgrade.o Linking C shared module irc.so [ 50%] Built target irc Scanning dependencies of target logger [ 50%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger.o [ 51%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-buffer.o [ 52%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-config.o [ 52%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-info.o [ 53%] Building C object src/plugins/logger/CMakeFiles/logger.dir/logger-tail.o Linking C shared module logger.so [ 53%] Built target logger Scanning dependencies of target relay [ 54%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay.o [ 55%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-buffer.o [ 55%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-client.o [ 56%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-client-irc.o [ 57%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-client-weechat.o [ 58%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-command.o [ 58%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-completion.o [ 59%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-config.o [ 60%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-info.o [ 61%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-raw.o [ 61%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-server.o [ 62%] Building C object src/plugins/relay/CMakeFiles/relay.dir/relay-upgrade.o Linking C shared module relay.so [ 62%] Built target relay Scanning dependencies of target rmodifier [ 63%] Building C object src/plugins/rmodifier/CMakeFiles/rmodifier.dir/rmodifier.o [ 64%] Building C object src/plugins/rmodifier/CMakeFiles/rmodifier.dir/rmodifier-command.o [ 64%] Building C object src/plugins/rmodifier/CMakeFiles/rmodifier.dir/rmodifier-completion.o [ 65%] Building C object src/plugins/rmodifier/CMakeFiles/rmodifier.dir/rmodifier-config.o [ 66%] Building C object src/plugins/rmodifier/CMakeFiles/rmodifier.dir/rmodifier-debug.o [ 67%] Building C object src/plugins/rmodifier/CMakeFiles/rmodifier.dir/rmodifier-info.o Linking C shared module rmodifier.so [ 67%] Built target rmodifier Scanning dependencies of target weechat_scripts [ 67%] Building C object src/plugins/scripts/CMakeFiles/weechat_scripts.dir/script.o [ 68%] Building C object src/plugins/scripts/CMakeFiles/weechat_scripts.dir/script-callback.o [ 69%] Building C object src/plugins/scripts/CMakeFiles/weechat_scripts.dir/script-api.o Linking C static library libweechat_scripts.a [ 69%] Built target weechat_scripts Scanning dependencies of target perl [ 70%] Building C object src/plugins/scripts/perl/CMakeFiles/perl.dir/weechat-perl.o [ 70%] Building C object src/plugins/scripts/perl/CMakeFiles/perl.dir/weechat-perl-api.o Linking C shared module perl.so [ 70%] Built target perl Scanning dependencies of target python [ 71%] Building C object src/plugins/scripts/python/CMakeFiles/python.dir/weechat-python.o [ 72%] Building C object src/plugins/scripts/python/CMakeFiles/python.dir/weechat-python-api.o Linking C shared module python.so [ 72%] Built target python Scanning dependencies of target ruby [ 73%] Building C object src/plugins/scripts/ruby/CMakeFiles/ruby.dir/weechat-ruby.o [ 73%] Building C object src/plugins/scripts/ruby/CMakeFiles/ruby.dir/weechat-ruby-api.o Linking C shared module ruby.so [ 73%] Built target ruby Scanning dependencies of target lua [ 74%] Building C object src/plugins/scripts/lua/CMakeFiles/lua.dir/weechat-lua.o [ 75%] Building C object src/plugins/scripts/lua/CMakeFiles/lua.dir/weechat-lua-api.o Linking C shared module lua.so [ 75%] Built target lua Scanning dependencies of target xfer [ 76%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer.o [ 76%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-buffer.o [ 77%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-chat.o [ 78%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-command.o [ 79%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-completion.o [ 79%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-config.o [ 80%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-dcc.o [ 81%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-file.o [ 82%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-info.o [ 82%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-network.o [ 83%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-upgrade.o Linking C shared module xfer.so [ 83%] Built target xfer Scanning dependencies of target weechat_gui_common [ 84%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-bar.o [ 85%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-bar-item.o [ 85%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-bar-window.o [ 86%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-buffer.o [ 87%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-chat.o [ 88%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-color.o [ 88%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-filter.o [ 89%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-completion.o [ 90%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-history.o [ 91%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-hotlist.o [ 91%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-input.o [ 92%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-keyboard.o [ 93%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-layout.o [ 94%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-line.o [ 94%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-nicklist.o [ 95%] Building C object src/gui/CMakeFiles/weechat_gui_common.dir/gui-window.o Linking C static library libweechat_gui_common.a [ 95%] Built target weechat_gui_common Scanning dependencies of target weechat-curses [ 96%] Building C object src/gui/curses/CMakeFiles/weechat-curses.dir/gui-curses-bar-window.o [ 97%] Building C object src/gui/curses/CMakeFiles/weechat-curses.dir/gui-curses-chat.o [ 97%] Building C object src/gui/curses/CMakeFiles/weechat-curses.dir/gui-curses-color.o [ 98%] Building C object src/gui/curses/CMakeFiles/weechat-curses.dir/gui-curses-keyboard.o [ 99%] Building C object src/gui/curses/CMakeFiles/weechat-curses.dir/gui-curses-main.o [100%] Building C object src/gui/curses/CMakeFiles/weechat-curses.dir/gui-curses-window.o Linking C executable weechat-curses [100%] Built target weechat-curses
rootになって、インストール作業を行う。
$ su Password: # make install [ 7%] Built target translations [ 22%] Built target weechat_core [ 24%] Built target weechat_plugins [ 26%] Built target alias [ 29%] Built target aspell [ 29%] Built target charset [ 31%] Built target fifo [ 50%] Built target irc [ 53%] Built target logger [ 62%] Built target relay [ 67%] Built target rmodifier [ 69%] Built target weechat_scripts [ 70%] Built target perl [ 72%] Built target python [ 73%] Built target ruby [ 75%] Built target lua [ 83%] Built target xfer [ 95%] Built target weechat_gui_common [100%] Built target weechat-curses Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/lib/weechat/../pkgconfig/weechat.pc -- Installing: /usr/local/share/locale/fr/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/es/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/cs/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/hu/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/de/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/ru/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/pl/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/it/LC_MESSAGES/weechat.mo -- Installing: /usr/local/share/locale/pt_BR/LC_MESSAGES/weechat.mo -- Installing: /usr/local/include/weechat/weechat-plugin.h -- Installing: /usr/local/lib/weechat/plugins/alias.so -- Installing: /usr/local/lib/weechat/plugins/aspell.so -- Installing: /usr/local/lib/weechat/plugins/charset.so -- Installing: /usr/local/lib/weechat/plugins/fifo.so -- Installing: /usr/local/lib/weechat/plugins/irc.so -- Installing: /usr/local/lib/weechat/plugins/logger.so -- Installing: /usr/local/lib/weechat/plugins/relay.so -- Installing: /usr/local/lib/weechat/plugins/rmodifier.so -- Installing: /usr/local/lib/weechat/plugins/perl.so -- Installing: /usr/local/lib/weechat/plugins/python.so -- Installing: /usr/local/lib/weechat/plugins/ruby.so -- Installing: /usr/local/lib/weechat/plugins/lua.so -- Installing: /usr/local/lib/weechat/plugins/xfer.so -- Installing: /usr/local/bin/weechat-curses -- Installing: /usr/local/share/man/man1/weechat-curses.1 # exit
これでバイナリファイルのアップグレードは終了。次は起動中のweechat(古いバージョン)を終了させないでアップデートする。まずはC-xでweechatのcoreウィンドウを選択し、起動中のweechatのバージョンチェックと、upgradeコマンドのhelpを確認。
/version 19:06:04 weechat | WeeChat 0.3.3 [compiled on Aug 17 2010 13:44:25] /help upgrade 19:06:07 weechat | 19:06:07 weechat | [core] /upgrade [path_to_binary] 19:06:07 weechat | 19:06:07 weechat | upgrade WeeChat without disconnecting from servers 19:06:07 weechat | 19:06:07 weechat | path_to_binary: path to WeeChat binary (default is | current binary) 19:06:07 weechat | 19:06:07 weechat | This command run again a WeeChat binary, so it | should have been compiled or installed with a | package manager before running this command.
起動したいバイナリのパスは先ほどインストールしたバイナリ。インストールディレクトリは PREFIX オプションで /usr/local/ としたので、バイナリのパスは /usr/local/bin/weechat-curses となる。
まずは現在の設定をsaveしておく。
/save 19:08:44 weechat | Options saved to weechat.conf 19:08:44 weechat | Options saved to plugins.conf 19:08:44 weechat | Options saved to alias.conf 19:08:44 weechat | Options saved to irc.conf 19:08:44 weechat | Options saved to charset.conf 19:08:44 weechat | Options saved to logger.conf 19:08:44 weechat | Options saved to aspell.conf 19:08:44 weechat | Options saved to xfer.conf
/upgradeコマンドを叩く。一回画面がフラッシュして、アップグレードされたが、メッセージにあるようにSSLの接続は未サポートのため切られた。
/upgrade /usr/local/bin/weechat-curses 19:09:33 weechat | Upgrading WeeChat with binary file: "/usr/local/bin/weechat-curses"... 19:09:33 weechat =!= | irc: disconnected from 1 server (SSL connection not supported with upgrade) 19:09:51 weechat | ___ __ ______________ _____ 19:09:51 weechat | __ | / /___________ ____/__ /_______ __ /_ 19:09:51 weechat | __ | /| / /_ _ \ _ \ / __ __ \ __ `/ __/ 19:09:51 weechat | __ |/ |/ / / __/ __/ /___ _ / / / /_/ // /_ 19:09:51 weechat | ____/|__/ \___/\___/\____/ /_/ /_/\__,_/ \__/ 19:09:51 weechat | WeeChat 0.3.4 [compiled on Jan 16 2011 18:59:49] 19:09:51 weechat | Upgraded 1 time, first start: Thu, 13 Jan 2011 05:28:16 19:09:51 weechat | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 31: option "open_channel_near_server" unknown for section "look" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 32: option "open_pv_near_server" unknown for section "look" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 58: option "anti_flood_prio_high" unknown for section "network" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 59: option "anti_flood_prio_low" unknown for section "network" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 62: option "away_check" unknown for section "network" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 63: option "away_check_max_nicks" unknown for section "network" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 66: option "connection_timeout" unknown for section "network" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 67: option "default_msg_part" unknown for section "network" 19:09:51 weechat =!= | Warning: /*******/.weechat/irc.conf, line 68: option "default_msg_quit" unknown for section "network" 19:09:52 weechat | Plugins loaded: alias, aspell, charset, fifo, irc, logger, lua, perl, python, relay, rmodifier, ruby, xfer 19:09:52 weechat | Upgrade done (7.94 seconds)
エラーがでている。それぞれのセクションにそれぞれのオプションが定義されていないことが問題のようだ。ざっと見た感じではnetworkセクションにあったオプションがserverオプションに移動され、これらが各IRCサーバごと定義できるようになったということのようだ。あまり気にせず進む。
開発者の FlashCode 氏が以下のようなことを言っていたのでリリースノートのチェック。上に上げた全ての未定義オプションはリネームされて別のセクションに移動されたとのことでした。リリースノート嫁w
19:26:35 @FlashCode | when upgrading with /upgrade, it's recommended to look at release notes: http://weechat.org/files/releasenotes/ReleaseNotes-0.3.4.html