[Email protected] ~]$ uname-r
2.6.32
[email protected] ~]#Cp/usr/include/pthread.h/usr/include/pthread.h.bak
[[email protected] ~]#echo '/* linuxthreads */' >>/usr/include/pthread.h
Solve
Checking for int8 ... no checking "linuxthreads" ... ' Not found ' Configure:error:This is a Linux system and linuxthreads were not found. On Linux linuxthreads should is used. Please install Linuxthreads (or a new glibc) and try again. See the installation chapter in the Reference Manual for more information.
Cause: The new kernel uses the advanced threading approach of NTPL,
[[Email protected] ~] #tar-ZXVF libtool-1.4.1.tar.gz
./configure &&make$ $make Install
[[Email protected] ~] #tar-ZXVF mysql-3.23.49.tar.gz
[Email protected] ~]# CD mysql-3.23.49
[email protected] mysql-3.23.49]# cflags= "-o0-mpentiumpro" cxxflags= "-o0-mpentiumpro-felide-constructors-fno-exceptions-fno-rtti". Configure--prefix=/usr/local/mysql--enable-assembler--with-mysqld-ldflags=-all-static--with-innodb--with-debug
Do not specify CXX=GCC, otherwise error in make
[Email protected] mysql-3.23.49]# Cp/usr/local/bin/libtool.
Replace current directory version
Order cannot be inverted
[[email protected] mysql-3.23.49]#make
[[email protected] mysql-3.23.49] #make Install
MySQL Service directory
[Email protected] libexec]$ pwd
/usr/local/mysql/libexec
[[email protected] libexec]$ ls
Mysqld
MySQL Client directory
[email protected] bin]$ lscomp_err mysqlbug mysql_setpermissionisamchk mysqlcheck Mysqlshowisamlog mysql_config mysqltestmsql2mysql mysql_convert_table_format mysql_ Zapmyisamchk mysqld_multi pack_isammyisamlog mysqldump perrormyisampack mysqldumpslow replacemy_print_defaults mysql_find_rows resolveipmysql mysql_fix_privilege_tables Resolve_stack_dumpmysqlaccess mysqlhotcopy safe_mysqldmysqladmin mysqlimportmysqlbinlog Mysql_install_db[[email protected] bin]$ pwd/usr/local/mysql/bin
MySQL 3.2.49 source code installation-redhat 5 x64