MySQL 3.2.49 source code installation-redhat 5 x64

Source: Internet
Author: User
Tags mysql client

[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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.