Skip to content

Cannot build MySQL after patching #1

@uetcis

Description

@uetcis

I downloaded MySQL Source Code and ran
sudo patch -p1 < wolfssl-mysql-8.0.0.patch -t

Then I copied wolfSSL to mysql-8.0.0/extra/yassl by running this command:
sudo cp ~/wolfssl-3.15.3/* extra/yassl/ -r

However when I try to run Make, I got this:

.......

-- WITH_PROTOBUF=bundled
-- PROTOBUF_VERSION_NUMBER is #define GOOGLE_PROTOBUF_VERSION 2006001
-- Using cmake version 3.10.2
-- Not building NDB
-- Using Boost headers from /home/ubuntu/boost/boost_1_60_0
-- MYSQLX - Text log of protobuf messages enabled
-- Library mysqlclient depends on OSLIBS -lpthread;m;rt;atomic;wolfssl;wolfcrypt;dl
CMake Warning at cmake/bison.cmake:20 (MESSAGE):
  Bison executable not found in PATH
Call Stack (most recent call first):
  sql/CMakeLists.txt:707 (INCLUDE)


CMake Warning at cmake/bison.cmake:20 (MESSAGE):
  Bison executable not found in PATH
Call Stack (most recent call first):
  libmysqld/CMakeLists.txt:203 (INCLUDE)


-- Library mysqlserver depends on OSLIBS -lpthread;m;rt;atomic;wolfssl;wolfcrypt;crypt;dl;aio
CMake Deprecation Warning at scripts/CMakeLists.txt:348 (CMAKE_POLICY):
  The OLD behavior for policy CMP0007 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- INSTALL mysqlclient.pc lib/pkgconfig
-- Skipping deb packaging on unsupported platform bionic.
-- CMAKE_BUILD_TYPE: RelWithDebInfo
-- COMPILE_DEFINITIONS: _GNU_SOURCE;_FILE_OFFSET_BITS=64;HAVE_CONFIG_H;RAPIDJSON_NO_SIZETYPEDEFINE;HAVE_LIBEVENT1
-- CMAKE_C_FLAGS:  -fPIC -Wall -Wextra -Wformat-security -Wvla -Wmissing-format-attribute -Wundef -Wwrite-strings -Wdeclaration-after-statement
-- CMAKE_CXX_FLAGS:  -fPIC -Wall -Wextra -Wformat-security -Wvla -Wmissing-format-attribute -Wundef -Woverloaded-virtual -Wno-unused-parameter -Wlogical-op
-- CMAKE_C_LINK_FLAGS:  -fuse-ld=gold
-- CMAKE_CXX_LINK_FLAGS:  -fuse-ld=gold
-- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -g -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -g -fno-omit-frame-pointer -fno-strict-aliasing -std=c++11 -DDBUG_OFF
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/mysql-8.0.0-dmr/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/mysql-8.0.0-dmr/CMakeFiles/CMakeError.log".

Could you please help me build MySQL with WolfSSL?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions