<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>2.2. Mac OS X — groonga v3.0.5ドキュメント</title> <link rel="stylesheet" href="../_static/groonga.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '3.0.5', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/translations.js"></script> <link rel="shortcut icon" href="../_static/favicon.ico"/> <link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" /> <link rel="up" title="2. インストール" href="../install.html" /> <link rel="next" title="2.3. Debian GNU/Linux" href="debian.html" /> <link rel="prev" title="2.1. Windows" href="windows.html" /> </head> <body> <div class="header"> <h1 class="title"> <a id="top-link" href="../index.html"> <span class="project">groonga</span> <span class="separator">-</span> <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span> </a> </h1> <div class="other-language-links"> <ul> <li><a href="../../../en/html/install/mac_os_x.html"><img src="../_static/us.png" alt="English">English page</a></li> </ul> </div> </div> <div class="related"> <h3>ナビゲーション</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="総合索引" accesskey="I">索引</a></li> <li class="right" > <a href="debian.html" title="2.3. Debian GNU/Linux" accesskey="N">次へ</a> |</li> <li class="right" > <a href="windows.html" title="2.1. Windows" accesskey="P">前へ</a> |</li> <li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li> <li><a href="../install.html" accesskey="U">2. インストール</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="mac-os-x"> <h1>2.2. Mac OS X<a class="headerlink" href="#mac-os-x" title="このヘッドラインへのパーマリンク">¶</a></h1> <p>このセクションではMac OS X上でgroongaをインストールする方法を説明します。 <a class="reference external" href="http://www.macports.org/">MacPorts</a> か <a class="reference external" href="http://mxcl.github.com/homebrew/">Homebrew</a> を使ってインストールできます。</p> <p>32-bit用と64-bit用のパッケージを配布していますが、サーバ用途には64-bitパッケージを利用することをオススメします。32-bit用パッケージはテスト用か開発用にだけ使って下さい。32-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。</p> <div class="section" id="id1"> <span id="id2"></span><h2>2.2.1. MacPorts<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2> <p>インストール:</p> <div class="highlight-none"><div class="highlight"><pre>% sudo port install groonga </pre></div> </div> </div> <div class="section" id="id3"> <span id="id4"></span><h2>2.2.2. Homebrew<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2> <p>インストール:</p> <div class="highlight-none"><div class="highlight"><pre>% brew install groonga </pre></div> </div> </div> <div class="section" id="build-from-source"> <h2>2.2.3. ソースからビルド<a class="headerlink" href="#build-from-source" title="このヘッドラインへのパーマリンク">¶</a></h2> <p><a class="reference external" href="https://developer.apple.com/xcode/">Xcode</a> をインストールしてください。</p> <p>ソースをダウンロードします:</p> <div class="highlight-none"><div class="highlight"><pre>% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz % tar xvzf groonga-3.0.5.tar.gz % cd groonga-3.0.5 </pre></div> </div> <p>configureを実行します( <tt class="docutils literal"><span class="pre">configure</span></tt> のオプションについては <a class="reference internal" href="others.html#source-configure"><em>configure</em></a> を参照してください):</p> <div class="highlight-none"><div class="highlight"><pre>% ./configure </pre></div> </div> <p>ビルド:</p> <div class="highlight-none"><div class="highlight"><pre>% make -j$(/usr/sbin/sysctl -n hw.ncpu) </pre></div> </div> <p>インストール:</p> <div class="highlight-none"><div class="highlight"><pre>% sudo make install </pre></div> </div> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../index.html">目次</a></h3> <ul> <li><a class="reference internal" href="#">2.2. Mac OS X</a><ul> <li><a class="reference internal" href="#id1">2.2.1. MacPorts</a></li> <li><a class="reference internal" href="#id3">2.2.2. Homebrew</a></li> <li><a class="reference internal" href="#build-from-source">2.2.3. ソースからビルド</a></li> </ul> </li> </ul> <h4>前のトピックへ</h4> <p class="topless"><a href="windows.html" title="前の章へ">2.1. Windows</a></p> <h4>次のトピックへ</h4> <p class="topless"><a href="debian.html" title="次の章へ">2.3. Debian GNU/Linux</a></p> <h3>このページ</h3> <ul class="this-page-menu"> <li><a href="../_sources/install/mac_os_x.txt" rel="nofollow">ソースコードを表示</a></li> </ul> <div id="searchbox" style="display: none"> <h3>クイック検索</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="検索" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> モジュール、クラス、または関数名を入力してください </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>ナビゲーション</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="総合索引" >索引</a></li> <li class="right" > <a href="debian.html" title="2.3. Debian GNU/Linux" >次へ</a> |</li> <li class="right" > <a href="windows.html" title="2.1. Windows" >前へ</a> |</li> <li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li> <li><a href="../install.html" >2. インストール</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Brazil, Inc. </div> </body> </html>