°²×°cmake ÏÂÔØcmakeÔ´Âë°ücmake-2.8.5.tar.gz [root@localhost ~]# wget http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz ±àÒë°²×° www.atcpu.com [root@localhost]# tar xzvf cmake-2.8.5.tar.gz [root@localhost]# cd cmake-2.8.5 [root@localhost cmake-2.8.5]# ./bootstrap
Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmake_bootstrap.log for compilers attempted.
¼ÌÐøcmakeµÄ°²×° [root@localhost cmake-2.8.5]# ./bootstrap Error when bootstrapping CMake: Cannot find appropriate C++ compiler on this system. Please specify one using environment variable CXX. See cmake_bootstrap.log for compilers attempted. www.atcpu.com Ôٴα¨´í£ºÈ±ÉÙC++±àÒëÆ÷¡£ °²×°gcc-c++±àÒëÆ÷ ͬÑù¿ÉÒÔ´ÓLinuxϵͳµÄ°²×°ÅÌÖа²×°£¬»òÕß¼òµ¥µØÓÃyum°²×° [root@localhost ~]# yum install gcc-c++
ÏÖÔÚ¿ÉÒÔͨ¹ý·þÎñÀ´Æô¶¯ºÍ¹Ø±ÕMysql·þÎñÆ÷ [root@localhost ~]# service mysql start [root@localhost ~]# service mysql shutdown
Á¬½Ó·þÎñÆ÷ [root@localhost ~]# mysql -u root -pyourpassword Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 to server version: 5.5.27 Source distributino Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> ... www.atcpu.com mysql> Ìáʾ·û¸æËßÄãmysql×¼±¸ÎªÄãÊäÈëÃüÁî¡£