さくらVPSにMaria DB 5.1.53をソースからインストール

cd /usr/local/src/
wget http://askmonty.org/downloads/r/http://mirrors.fe.up.pt/pub/mariadb/mariadb-5.1.53/kvm-tarbake-jaunty-x86/mariadb-5.1.53.tar.gz
tar xvzf mariadb-5.1.53.tar.gz
cd mariadb-5.1.53
./configure \
--prefix=/usr/local/mariadb \
--libexecdir=/usr/local/mariadb/bin \
--with-extra-charsets=all \
--enable-thread-safe-client \
--enable-local-infile \
--with-pic \
--with-client-ldflags=-static \
--with-mysqld-ldflags=-static \
--with-ssl \
--with-readline \
--with-embedded-server \
--with-plugins=max-no-ndb \
--with-zlib-dir=bundled \
--with-fast-mutexes \
--with-big-tables \
--without-embedded-server \
--with-libevent 
make
  • エラーが出た
checking for termcap functions library... configure: error: No curses/termcap library found
  • ここを参考にライブラリをインストール
yum install -y ncurses-devel