In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
MySQL5.7.17 installation is slightly different from MySQL5.6. You need to specify boost, otherwise the compiler installation will report an error.
Download address of boost:
Download:
# wget http://downloads.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz
Decompress:
# cd / root
# tar xvzf boost_1_59_0.tar.gz
Enter the boost_1_59_0 directory:
# cd / root/boost_1_59_0
Then compile and install. You can execute bootstrap.sh directly:
# sh. / bootstrap.sh
Building Boost.Build engine with toolset gcc... Tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.6
Detecting Python root... / usr
Unicode/ICU support for Boost.Regex?... Not found.
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
. / b2
To adjust configuration, edit 'project-config.jam'.
Further information:
-Command line help:
. / b2-help
-Getting started guide:
Http://www.boost.org/more/getting_started/unix-variants.html
-Boost.Build documentation:
Http://www.boost.org/boost-build2/doc/html/index.html
The next step is compilation, focusing on whether the compilation is successful:
#. / b2
And then there was a long wait until it finally appeared:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/ root/boost_1_59_0
The following directory should be added to linker library paths:
/ root/boost_1_59_0/stage/lib
It indicates that the compilation was successful.
Finally, execute:
. / b2 install-- prefix=/usr/local
Then you can compile MySQL5.7. You need to specify the directory of boost with-DWITH_BOOST=/root/boost_1_59_0:
# cmake. -DCMAKE_INSTALL_PREFIX=/opt/mysql-DWITH_DEBUG=1-DDOWNLOAD_BOOST=1-DWITH_BOOST=/root/boost_1_59_0
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.