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