Bug #89364 | mysql compile error | ||
---|---|---|---|
Submitted: | 23 Jan 2018 14:56 | Modified: | 25 Jan 2018 15:20 |
Reporter: | pengzhen peng | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.7.21 | OS: | CentOS (6.4) |
Assigned to: | CPU Architecture: | Any |
[23 Jan 2018 14:56]
pengzhen peng
[24 Jan 2018 8:50]
MySQL Verification Team
Hello pengzhen peng, Thank you for the report. Thanks, Umesh
[24 Jan 2018 9:06]
MySQL Verification Team
Thank you Miguel. My bad, even I overlooked this while confirming. There is a type in the option -CMAKE_INSTALL_PREFIX=/usr/local/mysql, please could confirm with -DCMAKE_INSTALL_PREFIX=/usr/local/mysql instead? Thanks, Umesh
[24 Jan 2018 9:14]
MySQL Verification Team
-- OL6 - no issues after correcting typo [root@ol6 mysql-5.7.21]# cmake . -DDOWNLOAD_BOOST=1 -DWITH_BOOST=./boost -DCMAKE_INSTALL_PREFIX=/usr/local/mysql . -- CMAKE_CXX_FLAGS: -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -- CMAKE_C_LINK_FLAGS: -- CMAKE_CXX_LINK_FLAGS: -- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -- Configuring done -- Generating done -- Build files have been written to: /home/ushastry/Desktop/mysql-5.7.21 -- OL7 - no issues after correcting typo [umshastr@hod03]/export/umesh/server/source/bugs/src_build/89364/mysql-5.7.21: cmake . -DDOWNLOAD_BOOST=1 -DWITH_BOOST=./boost -DCMAKE_INSTALL_PREFIX=/usr/local/mysql . . -- Skipping deb packaging on unsupported platform . -- CMAKE_BUILD_TYPE: RelWithDebInfo -- COMPILE_DEFINITIONS: _GNU_SOURCE;_FILE_OFFSET_BITS=64;HAVE_CONFIG_H;HAVE_LIBEVENT1 -- CMAKE_C_FLAGS: -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement -- CMAKE_CXX_FLAGS: -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -- CMAKE_C_LINK_FLAGS: -- CMAKE_CXX_LINK_FLAGS: -- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -- Configuring done -- Generating done -- Build files have been written to: /export/umesh/server/source/bugs/src_build/89364/mysql-5.7.21
[25 Jan 2018 15:20]
pengzhen peng
thanks very much, the option CMAKE_INSTALL_PREFIX is wrong