CMake Error at cmake/boost.cmake:76 (MESSAGE):

Source: Internet
Author: User

Error when compiling mysql5.7.9.

CMake Error at cmake/boost.cmake:76 (MESSAGE):You can download it with-ddownload_boost=1-dwith_boost=<directory>This CMake script would look forBoost in <directory>.IfIt is not there,It'll download andUnpackIt (in that directory) forYou.IfYou is inside a firewall, may need to UseAn HTTP proxy:Export Http_proxy= Stack (most recent call first):CMake/boost.cmake:228(could_not_find_boost) cmakelists. txt:435 (INCLUDE)  --Configuring incomplete, Errors occurred!See also"/byrd/tools/mysql-5.7.9/cmakefiles/cmakeoutput.log".

Workaround One

MySQL-5.7.9]#  cmake.-dcmake_install_prefix=/byrd/service/mysql-5.7.9-dmysql_datadir=/byrd /service/mysql-5.7.9/data-dmysql_unix_addr=/byrd/service/mysql-5.7.9/tmp/mysql.sock-dmysql_user=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-ddownload_ Boost=1-dwith_boost=/usr/local/boost

Workaround Two

Download a BOOST package, put it in the/usr/local/boost directory, and then add the option after CMake-dwith_boost=/usr/local/boos

CMake Error at cmake/boost.cmake:76 (MESSAGE):

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: 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.