ふと,全文検索エンジン「groonga」を試してみています.
Macの場合,Homebrew で簡単に入れられていいですね!
% brew install groonga ==> Downloading http://groonga.org/files/groonga/groonga-1.0.6.tar.gz curl: (22) The requested URL returned error: 404 Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.8\ (Ruby\ 1.8.7-174;\ Mac\ OS\ X\ 10.6.7) http://groonga.org/files/groonga/groonga-1.0.6.tar.gz -o /Users/issm/Library/Caches/Homebrew/groonga-1.0.6.tar.gz % |
...あれ?どうやらソースコードのダウンロード先が変わったみたいです.ドキュメントで確認して,formulaを修正してみました.差分は次のとおり:
--- a 2011-06-07 14:45:12.000000000 +0900 +++ b 2011-06-07 14:45:32.000000000 +0900 @@ -1,9 +1,9 @@ require 'formula' class Groonga < Formula - url 'http://groonga.org/files/groonga/groonga-1.0.6.tar.gz' + url 'http://packages.groonga.org/source/groonga/groonga-1.2.2.tar.gz' homepage 'http://groonga.org/' - md5 'a278e72801a68acf374cbc309d73ba34' + md5 'fc1f8088b144837b02570c21046b04d5' def install system "./configure", "--prefix=#{prefix}", "--with-zlib" |
% brew install groonga ==> Downloading http://packages.groonga.org/source/groonga/groonga-1.2.2.tar.gz File already downloaded and cached to /Users/issm/Library/Caches/Homebrew ==> ./configure --prefix=/usr/local/Cellar/groonga/1.2.2 --with-zlib ==> make install /usr/local/Cellar/groonga/1.2.2: 590 files, 12M, built in 2.9 minutes % |
OK.
なお,formulaの変更は,
% brew edit groonga |
とすることで,エディタが立ち上がるので,そこで修正を行えます.
こちらもあわせてどうぞ
最近の閲覧数
- None Found