ソースからコンパイルしようとしてもconfig.logに以下のように出て
configureできません。何か良い方法はないでしょうか?
---------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure・・・
基本的にMySQLはバイナリインストールが楽でいいと思います。
が、公式サイトを見たところ、4.x系は4.1しか残っていないですね。。。
MySQL :: MySQL 4.1 Downloads
http://dev.mysql.com/downloads/mysql/4.1.html#linux-icc
(普通の32bitCPUマシンなら、Linux (x86), Standard, 4.1.22 を使用)
もし、4.0が必須、ソースコンパイルが必須なら、ログの続きを見れば何かわかるかもしれません。
(上記のログでは、configureオプションやMakefileに何らかの変更が必要、としかわかりません)
その後、いろいろ調べて
# yum install gcc
# yum install gcc-c++
# yum install libz-devel
# yum install mysql-devel
を実行し、少しは先に進むようになりましたが、
今度は ./configureで
------------------------------
checking for termcap functions library... configure: error: No curses/termcap library found
------------------------------
と出て止まるようになってしまいました。
curses/termcapとはどこで入手できるのでしょうか?