Jingoo Kim
aijin****@gmail*****
2012年 1月 23日 (月) 14:48:11 JST
お疲れ様です。キムラといいます。 今回はじめてgroongaを導入しているのですが、 mroonga make 時以下のエラーが出ています。。。 どなたか回避策はありますでしょうか。 以上、宜しくお願いいたします。 ◆環境 CentoOS5.4(64bit) ※ すべてソースからインストール ・mecab ./configure --prefix=/usr/local/mecab \ --enable-shared \ --with-pic \ --with-charset=utf8 ・mecab-ipadic ./configure --with-pic \ --with-charset=utf8 \ --with-mecab-config=/usr/local/mecab/bin/mecab-config ・MySQL-5.5.20 cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \ -DDEFAULT_CHARSET=utf8 \ -DDEFAULT_COLLATION=utf8_general_ci \ -DWITH_PIC=1 ・groonga-1.2.9 ./configure --prefix=/usr/local/groonga \ --with-mecab \ --with-mecab-config=/usr/local/mecab/bin/mecab-config \ --with-munin-plugins ・mroonga-1.11 export PKG_CONFIG_PATH=/usr/local/groonga/lib/pkgconfig ./configure \ --with-default-parser=TokenMecab \ --with-mysql-source=/usr/local/src/mysql-5.5.20 \ --with-mysql-config=/usr/local/mysql/bin/mysql_config -------------------------------------------------------------------------- g++ -DHAVE_CONFIG_H -I. -I/usr/local/src/mysql-5.5.20/sql -I/usr/local/src/mysql-5.5.20/include -I/usr/local/src/mysql-5.5.20/regex -I/usr/local/src/mysql-5.5.20 -I/usr/local/mysql/include -I/usr/local/groonga1.2.9/include/groonga -I/usr/local/mysql/include -fPIC -g -g -O2 -Wall -Wextra -Wno-unused-parameter -Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors -MT libha_groonga_a-ha_mroonga.o -MD -MP -MF .deps/libha_groonga_a-ha_mroonga.Tpo -c -o libha_groonga_a-ha_mroonga.o `test -f 'ha_mroonga.cc' || echo './'`ha_mroonga.cc cc1plus: warnings being treated as errors ha_mroonga.cc:686: warning: type-punning to incomplete type might break strict-aliasing rules ha_mroonga.cc:687: warning: type-punning to incomplete type might break strict-aliasing rules ha_mroonga.cc:688: warning: type-punning to incomplete type might break strict-aliasing rules ha_mroonga.cc:689: warning: type-punning to incomplete type might break strict-aliasing rules ha_mroonga.cc:690: warning: type-punning to incomplete type might break strict-aliasing rules ha_mroonga.cc:691: warning: type-punning to incomplete type might break strict-aliasing rules ha_mroonga.cc:692: warning: type-punning to incomplete type might break strict-aliasing rules make[2]: *** [libha_groonga_a-ha_mroonga.o] Error 1 make[2]: Leaving directory `/var/tmp/install/src/mroonga/mroonga-1.11' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/install/src/mroonga/mroonga-1.11' make: *** [all] Error 2 --------------------------------------------------------------------------