The following components and libraries are required to compile MySQL Router on Linux:
An operating system with a compiler that supports C++11.
Example systems that include this support are Ubuntu 14.04 and later, Oracle Linux 7, and macOS 10.10 and later.
MySQL Server 5.5 or higher client libraries and header files. For example, on Ubuntu this is the
Code development tools including gcc, make, and assorted utilities for C++ 11 including GCC 4.8 and later, glibc 2.17 and later, and clang 3.3 and later
SLES 12 considerations: as of MySQL 8.0.13, these binaries are built using GCC 7; and the lowest supported GCC version on this platform is now 5.3. This change means the GCC Devel repository is required. For example:
$> cd /etc/zypp/repos.d/ $> wget https://download.opensuse.org/repositories/devel:/gcc/SLE-12/devel:gcc.repo
CMake 2.8.9 or later.
If your MySQL Server installation does not include the header files and compiled client libraries, then you may need to download the MySQL Server source code.