[Groonga-mysql-commit] mroonga/homebrew [master] Work mroonga formula with MySQL 5.5.24 built by yourself

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 28日 (月) 18:27:39 JST


Kouhei Sutou	2012-05-28 18:27:39 +0900 (Mon, 28 May 2012)

  New Revision: ca08f955606e6ff85eb9fcdd888f81693de1ff87

  Log:
    Work mroonga formula with MySQL 5.5.24 built by yourself

  Modified files:
    README.md

  Modified: README.md (+10 -4)
===================================================================
--- README.md    2012-05-28 18:01:23 +0900 (85f6236)
+++ README.md    2012-05-28 18:27:39 +0900 (cce44b8)
@@ -7,9 +7,15 @@ Type the following command to install mroonga by homebrew:
 
 If you want to use this formula with MySQL built by yourself instead of MySQL installed by homebrew:
 
-    % wget http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.24.tar.gz
+    % curl -O http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.24.tar.gz
     % tar xvzf mysql-5.5.24.tar.gz
     % cd mysql-5.5.24
-    % cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql-5.5.24
-    % brew install https://raw.github.com/mroonga/homebrew/master/mroonga.rb --with-mysql-source=$PWD
-
+    % curl http://bazaar.launchpad.net/~mysql/mysql-server/5.5/diff/3806 | patch -p0
+    % cmake -DCMAKE_INSTALL_PREFIX=$HOME/local/mysql-5.5.24
+    % make -j$(/usr/sbin/sysctl -n hw.ncpu)
+    % make install
+    % cd ~/local/mysql-5.5.24
+    % scripts/mysql_install_db
+    % bin/mysqld_safe &
+    % cd -
+    % PATH="$HOME/local/mysql-5.5.24/bin:$PATH" brew install https://raw.github.com/mroonga/homebrew/master/mroonga.rb --with-mysql-source=$(pwd)




Groonga-mysql-commit メーリングリストの案内
Back to archive index