null+****@clear*****
null+****@clear*****
2012年 5月 25日 (金) 11:07:02 JST
Kouhei Sutou 2012-05-25 11:07:02 +0900 (Fri, 25 May 2012) New Revision: 1b0ca9c18c7c11af58434e1ceab82875b53f13fc Log: doc: add install document for Solaris 11 Added files: doc/source/install/solaris.txt Modified files: doc/source/install.txt Modified: doc/source/install.txt (+1 -0) =================================================================== --- doc/source/install.txt 2012-05-25 10:47:23 +0900 (3573042) +++ doc/source/install.txt 2012-05-25 11:07:02 +0900 (ea424b0) @@ -24,4 +24,5 @@ size data. install/ubuntu install/centos install/fedora + install/solaris install/others Added: doc/source/install/solaris.txt (+43 -0) 100644 =================================================================== --- /dev/null +++ doc/source/install/solaris.txt 2012-05-25 11:07:02 +0900 (0b1dbe4) @@ -0,0 +1,43 @@ +.. -*- rst -*- + +.. highlightlang:: none + +Oracle Solaris +============== + +This section describes how to install groonga from source on Oracle +Solaris. + +Oracle Solaris 11 +----------------- + +Install required packages to build groonga:: + + % sudo pkg install gnu-tar gcc-45 system/header + +Download source:: + + % wget http://packages.groonga.org/source/groonga/groonga-2.0.3.tar.gz + % gtar xvzf groonga-2.0.3.tar.gz + % cd groonga-2.0.3 + +Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are +needed for building 64-bit package. To build 32-bit package, just +remove those variables. (see :ref:`source-configure` about ``configure`` +options):: + + % ./configure CFLAGS="-m64" CXXFLAGS="-m64" + +Build:: + + % make + +.. + Build with multi processes. ( ``% sudo pkg install gnu-make`` is + required):: + + % gmake -j$(psrinfo -p) + +Install:: + + % sudo make install