Decompress the package to compile the directory.
Many people now use centos5, but some special requirements also require the installation of mysql4.0.27 databases. many problems have been encountered during the first installation, this installation process is recorded for your reference.
First Download mysql4.0.27.tar.gz, decompress it to the directory compilation
An error occurred during compilation: checking "LinuxThreads "... "Not found"
This is caused by nptl and linuxthreads respectively. you can add "/* Linuxthreads */" in/usr/include/pthread. h to solve this problem.
Echo '/* Linuxthreads */'>/usr/include/pthread. h
Added during compilation? With-pthread and? With-named-thread-lib:
Re-compilation error: configure: error: No curses/termcap library found
This is because ncurses is not installed. install it first.
Yum install ncurses-devel
Continue compilation, and an error occurs during compilation: cannot find-lreadline
This error is caused by the absence of readline library files.
Yum install readline-devel
./Configure? With-pthread? With-named-thread-lib =-lpthread is compiled again.