hiroshi hatake
cosmo****@gmail*****
2014年 4月 25日 (金) 23:19:27 JST
畑ケです。 横山さん、CMakeのバグでpdbのエラーになっていた、 という問題の特定ありがとうございます! こちらでもCMake 2.8.12 -> 2.8.11に下げてみたところ、 msiが出力されるだけでなく、zipファイルも生成されました! …と思ったらMroonga 4.0.1では今のところWindowsではMroongaのビルドはされな い設定になっていたのですね…。 そろそろ日も変わりますし、続きは明日やってみたいと思います。 (2014年04月25日 22:21), Masafumi Yokoyama wrote: > 横山です。 > > 林さん、須藤さん、情報ありがとうございます。 > WiXをアンインストールしてmariadb-10.0.10-with-mroonga-4.01-for-windows.2014.04.25.zip > で試して見たところ、buildが通りました。 > > そしてzipのところで畑ケさんと同じpdbのエラーになりました。 > (心の準備ができていたので、すぐに特定できました。ありがとうございます) > どうもCMake 2.8.12のバグ(?)のようです。 > http://www.cmake.org/Bug/bug_relationship_graph.php?bug_id=14600&graph=dependency&orientation=vertical > > パッチの当て方がわからなかったので、CMakeを2.8.11に変えました。 > するとwin32のzipファイルができました。 > > http://myokoym.net/public/mariadb-10.0.10-win32.zip > > 動作確認したところ、ちゃんと動いている感じです。 > > --- > C:\Users\myokoym>mysql -uroot test > Welcome to the MariaDB monitor. Commands end with ; or \g. > Your MariaDB connection id is 3 > Server version: 10.0.10-MariaDB Source distribution > > Copyright (c) 2000, 2014, Oracle, SkySQL Ab and others. > > Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. > > MariaDB [test]> show engines > -> ; > +--------------------+---------+------------------------------------------------ > ----------------------------+--------------+------+------------+ > | Engine | Support | Comment > | Transactions | XA | Savepoints | > +--------------------+---------+------------------------------------------------ > ----------------------------+--------------+------+------------+ > | CSV | YES | CSV storage engine > | NO | NO | NO | > | InnoDB | DEFAULT | Percona-XtraDB, Supports transactions, row-leve > l locking, and foreign keys | YES | YES | YES | > | MEMORY | YES | Hash based, stored in memory, useful for tempor > ary tables | NO | NO | NO | > | MyISAM | YES | MyISAM storage engine > | NO | NO | NO | > | MRG_MyISAM | YES | Collection of identical MyISAM tables > | NO | NO | NO | > | PERFORMANCE_SCHEMA | YES | Performance Schema > | NO | NO | NO | > | Aria | YES | Crash-safe tables with MyISAM heritage > | NO | NO | NO | > +--------------------+---------+------------------------------------------------ > ----------------------------+--------------+------+------------+ > 7 rows in set (0.00 sec) > > MariaDB [test]> install plugin mroonga soname 'ha_mroonga.so'; > ERROR 1126 (HY000): Can't open shared library 'C:\Users\myokoym\bin\mariadb-10.0 > .10-win32\lib\plugin\ha_mroonga.so.dll' (errno: 2, \008Ew\0092\80B3\0082\A0BD\00 > 83\0082\0083W\0083\0085\0081[\0083\008B\0082\00AA\008C\00A9\0082\0082\00A9\0082\ > 00E8\0082\0702\00B9\0082\00F1\0081B > ) > MariaDB [test]> install plugin mroonga soname 'ha_mroonga.dll'; > Query OK, 0 rows affected (0.04 sec) > > MariaDB [test]> show engines; > +--------------------+---------+------------------------------------------------ > ----------------------------+--------------+------+------------+ > | Engine | Support | Comment > | Transactions | XA | Savepoints | > +--------------------+---------+------------------------------------------------ > ----------------------------+--------------+------+------------+ > | CSV | YES | CSV storage engine > | NO | NO | NO | > | InnoDB | DEFAULT | Percona-XtraDB, Supports transactions, row-leve > l locking, and foreign keys | YES | YES | YES | > | MEMORY | YES | Hash based, stored in memory, useful for tempor > ary tables | NO | NO | NO | > | MyISAM | YES | MyISAM storage engine > | NO | NO | NO | > | MRG_MyISAM | YES | Collection of identical MyISAM tables > | NO | NO | NO | > | PERFORMANCE_SCHEMA | YES | Performance Schema > | NO | NO | NO | > | mroonga | YES | CJK-ready fulltext search, column store > | NO | NO | NO | > | Aria | YES | Crash-safe tables with MyISAM heritage > | NO | NO | NO | > +--------------------+---------+------------------------------------------------ > ----------------------------+--------------+------+------------+ > 8 rows in set (0.00 sec) > > MariaDB [test]> create table diaries ( > -> id int primary key auto_increment, > -> content varchar(255), > -> fulltext index (content) > -> ) engine = mroonga default charset utf8; > Query OK, 0 rows affected (0.03 sec) > > MariaDB [test]> insert into diaries (content) values ("it'll be fine tomorrow.") > ; > Query OK, 1 row affected (0.00 sec) > > MariaDB [test]> insert into diaries (content) values ("it'll rain tomorrow."); > Query OK, 1 row affected (0.00 sec) > > MariaDB [test]> select * from diaries where match(content) against("fine"); > +----+-------------------------+ > | id | content | > +----+-------------------------+ > | 1 | it'll be fine tomorrow. | > +----+-------------------------+ > 1 row in set (0.00 sec) > > MariaDB [test]> select version(); > +-----------------+ > | version() | > +-----------------+ > | 10.0.10-MariaDB | > +-----------------+ > 1 row in set (0.00 sec) > --- > > > で、64bitの方は以下のエラーで失敗しました。(いまここ) > SDKを入れても変わらないようなので考え中です。 > > --- > C:\work\mroonga>build-zip-64.bat > > C:\work\mroonga>rmdir /S /Q build-zip-64 > > C:\work\mroonga>mkdir build-zip-64 > > C:\work\mroonga>cd build-zip-64 > > C:\work\mroonga\build-zip-64>cmake ..\source -G "Visual Studio 10 > Win64" 1>config.log > CMake Error****@CMake*****:77 (PROJECT): > Cannot enable 64-bit tools with Visual Studio 2010 Express. > > Install the Microsoft Windows SDK v7.1 to get 64-bit tools: > > http://msdn.microsoft.com/en-us/windows/bb980924.aspx > --- > > >> Bisonは http://gnuwin32.sourceforge.net/packages/bison.htm >> にあるものを使いました?ドキュメントを更新しようかと思いまし >> て。 > はい、私はこれを使いました。ただ、デフォルトのパス(Program Files (x86)) > にインストールすると、パスが分解されて悲惨なエラーになったので、 > スペースが含まれない場所にインストールし直しました。 > > _______________________________________________ > groonga-dev mailing list > groon****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/groonga-dev