- December 16, 2007 1:37 AM
ダウンロードしたソースファイルを展開
/Users/hirohama/Documents/2007/mysql-bk/mysql-5.1.22-rcmysqlbugとBUILD/compile-pentiumを参考にして、BUILD/compile-hirohamaを作成
-----
#! /bin/sh
path=`dirname $0`set -- "$@" --with-debug=full. "$path/SETUP.sh"
extra_flags="$pentium_cflags $debug_cflags"extra_configs="$pentium_configs $debug_configs $max_configs $error_inject --with-experimental-collations prefix=/usr/local/mysql-5.1-src --localstatedir=/Users/hirohama/data/data9 --libexecdir=/usr/local/mysql-5.1-src/bin --with-comment='MySQL Community Server (GPL)' --enable-thread-safe-client --enable-local-infile --with-pic --with-client-ldflags=-static --with-mysqld-ldflags=-static --with-zlib-dir=bundled --with-big-tables --with-ssl --with-readline --with-embedded-server --with-archive-storage-engine --with-blackhole-storage-engine --with-ndbcluster --with-csv-storage-engine --with-example-storage-engine --with-federated-storage-engine --with-partition --with-innodb --with-extra-charsets=all"
. "$path/FINISH.sh"
-----
sudo BUILD/compile-hirohamasudo makesudo make install
で完了