In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
MySQL5.7.17 reported an error in cmake as follows:
Click (here) to collapse or open
CMake Error at cmake/boost.cmake:81 (MESSAGE): You can download it with-DDOWNLOAD_BOOST=1-DWITH_BOOST=This CMake script will look for boost in. If it is not there,it will download and unpack it (in that directory) for you.If you are inside a firewall, you may need to use an http proxy:export http_proxy= http://example.com:80Call Stack (most recent call first): cmake/boost.cmake:238 (COULD_NOT_FIND_BOOST) CMakeLists.txt:455 (INCLUDE)-- Configuring incomplete Errors occurred see also "/ root/mysqlsoftware/mysql-5.7.17/CMakeFiles/CMakeOutput.log" .See also "/ root/mysqlsoftware/mysql-5.7.17/CMakeFiles/CMakeError.log". The solution is:
1. Create a folder called boost under / usr/local
Mkdir-p / usr/local/boost
two。 Go to this newly created folder and download boost
Wget http://www.sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
3. Decompression
Tar-xvzf boost_1_59_0.tar.gz
4. Continue cmake and add the red part.
Cmake. -DCMAKE_INSTALL_PREFIX=/usr/local/mysql\
-DDEFAULT_CHARSET=utf8\
-DDEFAULT_COLLATION=utf8_general_ci\
-DENABLED_LOCAL_INFILE=ON\
-DWITH_INNOBASE_STORAGE_ENGINE=1\
-DWITH_FEDERATED_STORAGE_ENGINE=1\
-DWITH_BLACKHOLE_STORAGE_ENGINE=1\
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1\
-DWITH_PARTITION_STORAGE_ENGINE=1\
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1\
-DCOMPILATION_COMMENT='Mysqlma'\
-DWITH_READLINE=ON\
-DWITH_BOOST=/usr/local/boost\
-DSYSCONFDIR=/data/mysqldata/3306\
-DMYSQL_UNIX_ADDR=/data/mysqldata/3306/mysql.sock
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.