Newly installed RedHat 6.0 operating system, in order to save time, selected "Minimize Installation" during installation
The operating system needs to run mysql-5.6.11, in the CMake compile times the following error:
--Openssl_library = Openssl_library-notfound
--Crypto_library = Crypto_library-notfound
--Library mysqlclient depends on OSLIBS-LPTHREAD;M;RT;DL
CMake Error:problem with Tar_close (): Success
CMake Error:problem extracting tar:/opt/software/mysql-5.6.11/source_downloads/gmock-1.6.0.zip
Warning:bison executable not found in PATH
--Library MySQLServer depends on OSLIBS-LPTHREAD;M;RT;CRYPT;DL
--Configuring incomplete, Errors occurred!
The CMake compiler method is as follows:
CMake. -dcmake_install_prefix=/usr/local/mysql-dmysql_datadir=/usr/local/mysql/data-dsysconfdir=/usr/loca/mysql/\
-dwith_innobase_storage_engine=1-dwith_archive_storage_engine=1-dwith_blackhole_storage_engine=1 \
-dwith_federated_storage_engine=1-dwith_partition_storage_engine=1-dmysql_tcp_port=3306-denabled_local_infile= 1 \
-dwith_ssl=yes-dextra_charsets=all-ddefault_charset=utf8-ddefault_collation=utf8_general_ci-dwith_readline=on
Workaround: mysql-5.5 The above version needs to depend on the following package file (if it is less than the mysql-5.5 version does not need to install cmake)
GCC gcc-c++ OpenSSL openssl-devel ncurses ncurses-devel cmake
mysql5.6 CMake compile prompt library MySQLServer depends on OSLIBS-LPTHREAD;M;RT;CRYPT;DL