From 2e6e8574a4e9cf0198b916ce5e8d4fcc56c22102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 16 Mar 2017 15:00:49 +0200 Subject: [PATCH] MXS-864: Document build problems with PCRE2 Added a note about PCRE2 and possible problems that occur when CMake is configured multiple times. --- .../Getting-Started/Building-MaxScale-from-Source-Code.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/Getting-Started/Building-MaxScale-from-Source-Code.md b/Documentation/Getting-Started/Building-MaxScale-from-Source-Code.md index 0cc962ee9..09cb312ed 100644 --- a/Documentation/Getting-Started/Building-MaxScale-from-Source-Code.md +++ b/Documentation/Getting-Started/Building-MaxScale-from-Source-Code.md @@ -108,6 +108,11 @@ sudo make install Other useful targets for Make are `documentation`, which generates the Doxygen documentation, and `uninstall` which uninstall MariaDB MaxScale binaries after an install. +**Note**: If you configure CMake multiple times, it's possible that you will run + into problems when building MaxScale. Most of the time this manifests as a + missing _pcre2.h_ header file. When this happens, delete everything in the + build directory and run the CMake command again. + # Building MariaDB MaxScale packages In addition to the packages needed to build MariaDB MaxScale, you will need the