Jingoo Kim
aijin****@gmail*****
2012年 1月 23日 (月) 15:03:33 JST
お疲れ様です。キムラです。 メール出して早速ですが、 configure の後に、Makefile を修正してやったところエラーなく通りました! これで問題ないかな?ってところです。 ※ -Wno-strict-aliasing 追加 --- Makefile 2012-01-23 14:59:17.000000000 +0900 +++ Makefile.org 2012-01-23 14:56:40.000000000 +0900 @@ -186,7 +186,7 @@ CXX = g++ CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 -CXXFLAGS = -g -O2 -Wall -Wextra -Wno-unused-parameter -Werror -Wno-strict-aliasing -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors +CXXFLAGS = -g -O2 -Wall -Wextra -Wno-unused-parameter -Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps On Mon, Jan 23, 2012 at 2:48 PM, Jingoo Kim <aijin****@gmail*****> wrote: > お疲れ様です。キムラといいます。 > > 今回はじめて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 > -------------------------------------------------------------------------- > -- Best Regards Jingoo Kim