CentOS 5.2でMySQL 5.1.49をソースからインストール

wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.49.tar.gz/from/http://ftp.iij.ad.jp/pub/db/mysql/
tar xvzf mysql-5.1.49.tar.gz 
cd mysql-5.1.49
autoconf
  • ここでエラーが発生、autoconfのバージョンが足りませんかそうですか
aclocal.m4:20: warning: this file was generated for autoconf 2.63.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.in:22: error: Autoconf version 2.60 or higher is required
aclocal.m4:8464: AM_INIT_AUTOMAKE is expanded from...
configure.in:22: the top level
autom4te: /usr/bin/m4 failed with exit status: 63

やっぱりというか、今度はautomakeのバージョンが足りない

cd mysql-5.1.49
autoconf
config/ac-macros/character_sets.m4:6: warning: prefer named diversions
configure.in:22: version mismatch.  This is Automake 1.9.6,
configure.in:22: but the definition used by this AM_INIT_AUTOMAKE
configure.in:22: comes from Automake 1.10.2.  You should recreate
configure.in:22: aclocal.m4 with aclocal and run automake again.
client/Makefile.am: required file `./compile' not found
automake
make
make install

やっとインストール完了!!でspiderをインストールしようと思ったら5.1.44と連携しているらしいので、最初っから入れ直し。とほほ