Sha256: 7cef057cca658a56e9678d024a9bacddb327d17a458fb1938a1af7ff59f5bdb4

Contents?: true

Size: 951 Bytes

Versions: 8

Compression:

Stored size: 951 Bytes

Contents

.. -*- rst -*-

.. highlightlang:: none

Mac OS X
========

This section describes how to install Groonga on Mac OS X. You can
install Groonga by `MacPorts <http://www.macports.org/>`_ or `Homebrew
<http://mxcl.github.com/homebrew/>`_.

.. _macports:

MacPorts
--------

Install::

  % sudo port install groonga

.. _homebrew:

Homebrew
--------

Install::

  % brew install groonga

If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a
tokenizer, specify ``--with-mecab`` option::

  % brew install groonga --with-mecab

Build from source
-----------------

Install `Xcode <https://developer.apple.com/xcode/>`_.

Download source::

  % curl -O http://packages.groonga.org/source/groonga/groonga-4.0.2.tar.gz
  % tar xvzf groonga-4.0.2.tar.gz
  % cd groonga-4.0.2

Configure (see :ref:`source-configure` about ``configure`` options)::

  % ./configure

Build::

  % make -j$(/usr/sbin/sysctl -n hw.ncpu)

Install::

  % sudo make install

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
rroonga-4.0.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt
rroonga-4.0.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt
rroonga-4.0.3-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt
rroonga-4.0.3-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt
rroonga-4.0.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt
rroonga-4.0.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt
rroonga-4.0.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt
rroonga-4.0.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt