Kentaro Hayashi
hayas****@clear*****
2017年 10月 3日 (火) 16:48:01 JST
To: 大川さん 林です。 On Mon, 2 Oct 2017 20:08:22 +0900 大川敬臣 <yoshi****@kccs*****> wrote: > こんにちは > 大川と申します。 > > mroongaのインストールで質問させてください。 > > 現在、mysql-commercial-server-5.7.19-1.1.el7.x86_64がインストールされている環境に > mroonga-7.05をインストールしようとしているのですが、 > commercial版がインストールされていてもcommunity版のmysql-server-5.7.19-1.1.el7.x86_64 > が必要になるのでしょうか? > > # yum install -y mysql57-community-mro onga-7.05 > > でインストールを実行したのですが、 > =========================================================================== > エラー: パッケージ: mysql57-community-mroonga-7.05-2.el7.centos.x86_64 (groonga) > 要求: mysql-community-server = 5.7.19-1.el7 > エラー: パッケージ: mysql57-community-mroonga-7.05-2.el7.centos.x86_64 (groonga) > 要求: mysql-community-client = 5.7.19-1.el7 > =========================================================================== > で依存関係のエラーが発生してしまいました。 > > community版もインストールしなければいけないのか、または、インストール方法を変更すればcommercial版のみで > 可能なのか、ご指導の程、お願いいたします。 Mroongaは特定のバージョンのMySQLに合わせてパッケージを提供しているので http://mroonga.org/ja/docs/install/centos.html の手順に沿って mysql57-community-mroongaを インストールする場合にはcommunity版が必要です。 ただし、commercial版があるならそちらを使いたいですよね。 そういうときには、SRPMをリビルドしてインストールするのがよいかと思います。 SRPMは以下からダウンロードできます。 http://packages.groonga.org/centos/7/source/SRPMS/mysql57-community-mroonga-7.06-1.el7.centos.src.rpm 一点、community版を想定しているので、specファイルを一部commercial版に合わせて修正しないと いけないかもしれません。例えば、以下のようなcommunity版決め打ちの箇所があるためです。 BuildRequires: mysql-community-devel = %{_mysql_version}-%{_mysql_release}.%{_mysql_dist} Requires: mysql-community-server = %{_mysql_version}-%{_mysql_release}.%{_mysql_dist} Requires: mysql-community-client = %{_mysql_version}-%{_mysql_release}.%{_mysql_dist} commercial版パッケージでインストールされるパッケージ名などがわかれば、specをこうなおすとビルドできるかも、 というのはお伝えできるかもしれません。 -- Kentaro Hayashi <hayas****@clear*****> -------------- next part -------------- テキスト形式以外の添付ファイルを保管しました... ファイル名: 無し 型: application/pgp-signature サイズ: 833 バイト 説明: 無し URL: https://lists.osdn.me/mailman/archives/groonga-dev/attachments/20171003/f7b2f29e/attachment.pgp