Q4MをSnow leopardに構築してみる

参考にしたのはこの辺り。
http://blog.xole.net/search.php?k=Q4M&d=&p=0&c=0&pn=1&f=
http://veadardiary.blog29.fc2.com/blog-entry-1151.html

Xcode

まずは、XcodeOS Xのディスクからインストール。
パッケージを導入するだけなのですぐ終わる。
これが入ってないと、ビルドができない。

mysql

次にmysqlのインストール

$> sudo port install mysql5-devel

log

$> sudo port install mysql5-devel

      • > Computing dependencies for mysql5-devel
      • > Building zlib
      • > Staging zlib into destroot
      • > Installing zlib @1.2.3_3
      • > Activating zlib @1.2.3_3
      • > Cleaning zlib
      • > Fetching openssl
      • > Attempting to fetch openssl-0.9.8l.tar.gz from http://distfiles.macports.org/openssl
      • > Verifying checksum(s) for openssl
      • > Extracting openssl
      • > Applying patches to openssl
      • > Configuring openssl
      • > Building openssl
      • > Staging openssl into destroot
      • > Installing openssl @0.9.8l_0+darwin
      • > Activating openssl @0.9.8l_0+darwin
      • > Cleaning openssl
      • > Fetching ncursesw
      • > Attempting to fetch ncurses-5.7.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/ncurses
      • > Verifying checksum(s) for ncursesw
      • > Extracting ncursesw
      • > Configuring ncursesw
      • > Building ncursesw
      • > Staging ncursesw into destroot
      • > Installing ncursesw @5.7_0+darwin_10
      • > Activating ncursesw @5.7_0+darwin_10
      • > Cleaning ncursesw
      • > Fetching ncurses
      • > Verifying checksum(s) for ncurses
      • > Extracting ncurses
      • > Configuring ncurses
      • > Building ncurses
      • > Staging ncurses into destroot
      • > Installing ncurses @5.7_0+darwin_10
      • > Activating ncurses @5.7_0+darwin_10
      • > Cleaning ncurses
      • > Fetching readline
      • > Attempting to fetch readline-6.0.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/readline
      • > Verifying checksum(s) for readline
      • > Extracting readline
      • > Applying patches to readline
      • > Configuring readline
      • > Building readline
      • > Staging readline into destroot
      • > Installing readline @6.0.000_2+darwin
      • > Activating readline @6.0.000_2+darwin
      • > Cleaning readline
      • > Fetching mysql5-devel
      • > Attempting to fetch mysql-5.1.40.tar.gz from http://mysql.he.net/Downloads/MySQL-5.1/
      • > Verifying checksum(s) for mysql5-devel
      • > Extracting mysql5-devel
      • > Applying patches to mysql5-devel
      • > Configuring mysql5-devel
      • > Building mysql5-devel
      • > Staging mysql5-devel into destroot
      • > Installing mysql5-devel @5.1.40_1

The MySQL client has been installed.
If you also want a MySQL server, install the mysql5-server-devel port.

      • > Activating mysql5-devel @5.1.40_1
      • > Cleaning mysql5-devel