<div dir="ltr">弓中さん<br><div><br></div><div>佐藤です。</div><div>こんにちは</div><div><br></div><div>普段はmroogaを使っていないので分かる範囲で</div><div>私のmacOSは10.12.5で、少しバージョンが違います。</div><div><br></div><div><a href="http://mroonga.org/ja/docs/install/os_x.html">http://mroonga.org/ja/docs/install/os_x.html</a><br></div><div>brew install <a href="https://raw.github.com/mroonga/homebrew/master/mroonga.rb">https://raw.github.com/mroonga/homebrew/master/mroonga.rb</a> --use-homebrew-mysql --with-mecab<br></div><div><br></div><div>これでMySQLも含めてhomebrewでmroongaをインストールできました。</div><div><br></div><div><br></div><div>弓中さんのメールの中の以下の部分は変ですね。</div><div><div>(2) ==&gt; Downloading</div><div><a href="https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar">https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar</a></div><div>curl: (22) The requested URL returned error: 404 Not Found</div><div>Error: Failed to download resource &quot;mysql&quot;</div></div><div><br></div><div>私のところでは以下のようになりました。(tarで終わっているのが変ですね)</div><div><br></div><div>==&gt; Downloading <a href="https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.18.tar.gz">https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.18.tar.gz</a><br></div><div><br></div><div>もう一度homebrew updateをしたのちコマンドを実行してみてはいかがでしょうか?</div><div><br></div><div>また上記のコマンドはHomebrewで提供されるMySQLを使うもので、</div><div>もしOracleのMySQLを使うのであれば、(多分)</div><div><br></div><div><div>brew install <a href="https://raw.github.com/mroonga/homebrew/master/mroonga.rb">https://raw.github.com/mroonga/homebrew/master/mroonga.rb</a> --with-mysql-config=mysql_configの絶対パス</div><div><br></div><div>としないといけないような気がします。</div></div><div><br></div><div>差し支えなければOracleのMySQLを消した後にやってみると問題の切り分けができるかと思います。</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">2017年6月28日(水) 22:38 Natsuko Yuminaka &lt;<a href="mailto:nyumi****@nifty*****">nyumi****@nifty*****</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">groonga-dev メーリングリストの皆様<br>
<br>
お世話になります。<br>
昨日メーリングリストに加入させて頂いた弓中と申します。<br>
<br>
Mroonga を使ってみたいのですが、インストールに失敗して、<br>
今回質問させて頂きました。<br>
<br>
OS X (El Capitan 10.11.6)上で、下記(1)にて Mroonga<br>
をインストールしようとしましたが、<br>
ターミナル画面に同(2)が表示され、インストールできませんでした。<br>
ターミナル画面に表示されたメッセージ全文を(補足1)以下にコピーさせてもらっています。<br>
(1)$ brew install<br>
<a href="https://raw.github.com/mroonga/homebrew/master/mroonga.rb" rel="noreferrer" target="_blank">https://raw.github.com/mroonga/homebrew/master/mroonga.rb</a><br>
--use-homebrew-mysql --with-mecab<br>
(2) ==&gt; Downloading<br>
<a href="https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar" rel="noreferrer" target="_blank">https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar</a><br>
    curl: (22) The requested URL returned error: 404 Not Found<br>
    Error: Failed to download resource &quot;mysql&quot;<br>
<br>
<br>
MySQL<br>
5.7.18をインストール済みなので、下記(3)のサイトを見て(4)を試してみましたが、<br>
(2)が表示されインストールできませんでした。(補足2)以下はその時のターミナル画面のメッセージです。<br>
<br>
(3)<a href="https://github.com/mroonga/homebrew-mroonga/blob/master/README.md" rel="noreferrer" target="_blank">https://github.com/mroonga/homebrew-mroonga/blob/master/README.md</a><br>
(4)$ brew tap mroonga/mroonga<br>
   $ brew install mroonga --use-homebrew-mysql<br>
<br>
MySQLは、Oracleさんのサイトからダウンロードしたdmgファイルでインストールしました。<br>
<br>
<br>
(3)の「If you want to use this formula with MySQL built by yourself<br>
instead of MySQL installed by Homebrew:」を見て、<br>
下記(5)を実行すればmroongaをインストールできるのかな?と思ったのですが、<br>
環境変数の部分をどのように入力すれば良いか分かりませんでした。<br>
(5)$ PATH=&quot;$HOME/local/mysql-5.5.24/bin:$PATH&quot; brew install mroonga<br>
--with-mysql-source=$(pwd)<br>
<br>
 MySQL Workbench の 「Server Directories」の「Data Directory」は<br>
  /usr/local/mysql/data<br>
 でした。<br>
<br>
mroongaのインストール手順のページ(6)に、<br>
 「CentOS 6では、Mroonga 4.04からOracleのMySQL<br>
5.6パッケージを利用できます」とあったのですが、<br>
OS Xでは既にインストールしているMySQLを一旦アンインストールしてから、<br>
MySQLとmroongaおよび必要なもの(pcreなど)をインストールする必要があるのでしょうか?<br>
(6)<a href="http://mroonga.org/ja/docs/install/centos.html#centos-6-with-the-oracle-mysql-5-7-package" rel="noreferrer" target="_blank">http://mroonga.org/ja/docs/install/centos.html#centos-6-with-the-oracle-mysql-5-7-package</a><br>
<br>
長文で申し訳ありません。<br>
アドバイスを頂けると大変ありがたいです。<br>
どうぞよろしくお願いいたします。<br>
<br>
<br>
**********************************************************<br>
 (補足1)<br>
**********************************************************<br>
<br>
  $ brew install<br>
<a href="https://raw.github.com/mroonga/homebrew/master/mroonga.rb" rel="noreferrer" target="_blank">https://raw.github.com/mroonga/homebrew/master/mroonga.rb</a><br>
--use-homebrew-mysql --with-mecab<br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Installing dependencies for mroonga: pcre, msgpack, mecab,<br>
mecab-ipad<br>
  ==&gt; Installing mroonga dependency: pcre<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/pcre-8.38.el_capitan.bottle" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/pcre-8.38.el_capitan.bottle</a><br>
<br>
########################################################################<br>
100.0%<br>
  ==&gt; Pouring pcre-8.38.el_capitan.bottle.tar.gz<br>
  🍺  /usr/local/Cellar/pcre/8.38: 203 files, 5.4M<br>
  ==&gt; Installing mroonga dependency: msgpack<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/msgpack-1.4.1.el_capitan.bo" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/msgpack-1.4.1.el_capitan.bo</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Pouring msgpack-1.4.1.el_capitan.bottle.tar.gz<br>
  🍺  /usr/local/Cellar/msgpack/1.4.1: 478 files, 4.7M<br>
  ==&gt; Installing mroonga dependency: mecab<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/mecab-0.996.el_capitan.bott" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/mecab-0.996.el_capitan.bott</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Pouring mecab-0.996.el_capitan.bottle.2.tar.gz<br>
  🍺  /usr/local/Cellar/mecab/0.996: 18 files, 4.3M<br>
  ==&gt; Installing mroonga dependency: mecab-ipadic<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/mecab-ipadic-2.7.0-20070801" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/mecab-ipadic-2.7.0-20070801</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Pouring mecab-ipadic-2.7.0-20070801.el_capitan.bottle.tar.gz<br>
  ==&gt; Caveats<br>
  To enable mecab-ipadic dictionary, add to /usr/local/etc/mecabrc:<br>
    dicdir = /usr/local/lib/mecab/dic/ipadic<br>
  ==&gt; Summary<br>
  🍺  /usr/local/Cellar/mecab-ipadic/2.7.0-20070801: 15 files, 50.6M<br>
  ==&gt; Installing mroonga dependency: groonga<br>
  ==&gt; Downloading<br>
<a href="http://packages.groonga.org/source/groonga/groonga-6.0.2.tar.gz" rel="noreferrer" target="_blank">http://packages.groonga.org/source/groonga/groonga-6.0.2.tar.gz</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; ./configure --prefix=/usr/local/Cellar/groonga/6.0.2 --with-zlib<br>
--with-ssl<br>
  ==&gt; make install<br>
  ==&gt; Downloading<br>
<a href="http://packages.groonga.org/source/groonga-normalizer-mysql/groo" rel="noreferrer" target="_blank">http://packages.groonga.org/source/groonga-normalizer-mysql/groo</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; ./configure --prefix=/usr/local/Cellar/groonga/6.0.2<br>
  ==&gt; make<br>
  ==&gt; make install<br>
  🍺  /usr/local/Cellar/groonga/6.0.2: 1,208 files, 24.5M, built in 48<br>
minutes 36 seconds<br>
  ==&gt; Installing mroonga dependency: cmake<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/cmake-3.5.2.el_capitan.bott" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/cmake-3.5.2.el_capitan.bott</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Pouring cmake-3.5.2.el_capitan.bottle.tar.gz<br>
  ==&gt; Caveats<br>
  Emacs Lisp files have been installed to:<br>
    /usr/local/share/emacs/site-lisp/cmake<br>
  ==&gt; Summary<br>
  🍺  /usr/local/Cellar/cmake/3.5.2: 2,010 files, 27.5M<br>
  ==&gt; Installing mroonga dependency: boost<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/boost-1.60.0_2.el_capitan.b" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/boost-1.60.0_2.el_capitan.b</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Pouring boost-1.60.0_2.el_capitan.bottle.1.tar.gz<br>
  🍺  /usr/local/Cellar/boost/1.60.0_2: 11,139 files, 434.0M<br>
  ==&gt; Installing mroonga dependency: mysql<br>
  ==&gt; Downloading<br>
<a href="https://homebrew.bintray.com/bottles/mysql-5.7.12.el_capitan.bot" rel="noreferrer" target="_blank">https://homebrew.bintray.com/bottles/mysql-5.7.12.el_capitan.bot</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Pouring mysql-5.7.12.el_capitan.bottle.tar.gz<br>
  ==&gt; /usr/local/Cellar/mysql/5.7.12/bin/mysqld --initialize-insecure<br>
--user=yumin<br>
  ==&gt; Caveats<br>
  We&#39;ve installed your MySQL database without a root password. To secure<br>
it run:<br>
      mysql_secure_installation<br>
<br>
  To connect run:<br>
      mysql -uroot<br>
<br>
  To have launchd start mysql now and restart at login:<br>
    brew services start mysql<br>
  Or, if you don&#39;t want/need a background service you can just run:<br>
    mysql.server start<br>
  ==&gt; Summary<br>
  🍺  /usr/local/Cellar/mysql/5.7.12: 13,281 files, 444.8M<br>
  ==&gt; Installing mroonga<br>
  ==&gt; Downloading<br>
<a href="http://packages.groonga.org/source/mroonga/mroonga-7.03.tar.gz" rel="noreferrer" target="_blank">http://packages.groonga.org/source/mroonga/mroonga-7.03.tar.gz</a><br>
  ########################################################################<br>
100.0%<br>
  ==&gt; Downloading<br>
<a href="https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar" rel="noreferrer" target="_blank">https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar</a><br>
<br>
  curl: (22) The requested URL returned error: 404 Not Found<br>
  Error: Failed to download resource &quot;mysql&quot;<br>
<br>
<br>
<br>
**********************************************************<br>
 (補足2)<br>
**********************************************************<br>
<br>
  $ brew tap mroonga/mroonga<br>
  ==&gt; Tapping mroonga/mroonga<br>
  Cloning into &#39;/usr/local/Library/Taps/mroonga/homebrew-mroonga&#39;...<br>
  remote: Counting objects: 7, done.<br>
  remote: Compressing objects: 100% (6/6), done.<br>
  remote: Total 7 (delta 0), reused 3 (delta 0), pack-reused 0<br>
  Unpacking objects: 100% (7/7), done.<br>
  Checking connectivity... done.<br>
  Tapped 1 formula (32 files, 32.3K)<br>
  $ brew install mroonga --use-homebrew-mysql<br>
  ==&gt; Installing mroonga from mroonga/mroonga<br>
  ==&gt; Downloading<br>
<a href="http://packages.groonga.org/source/mroonga/mroonga-7.03.tar.gz" rel="noreferrer" target="_blank">http://packages.groonga.org/source/mroonga/mroonga-7.03.tar.gz</a><br>
  Already downloaded: /Library/Caches/Homebrew/mroonga-7.03.tar.gz<br>
  ==&gt; Downloading<br>
<a href="https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar" rel="noreferrer" target="_blank">https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar</a><br>
<br>
  curl: (22) The requested URL returned error: 404 Not Found<br>
  Error: Failed to download resource &quot;mysql&quot;<br>
  Download failed:<br>
<a href="https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar.gz" rel="noreferrer" target="_blank">https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.12.tar.gz</a><br>
<br>
_______________________________________________<br>
groonga-dev mailing list<br>
<a href="mailto:groon****@lists*****" target="_blank">groon****@lists*****</a><br>
<a href="http://lists.osdn.me/mailman/listinfo/groonga-dev" rel="noreferrer" target="_blank">http://lists.osdn.me/mailman/listinfo/groonga-dev</a><br>
</blockquote></div>