Spec-Zone .ru
спецификации, руководства, описания, API

2.9.5. Dealing with Problems Compiling MySQL

The solution to many problems involves reconfiguring. If you do reconfigure, take note of the following:

To prevent old object files or configuration information from being used, run these commands on Unix before re-running CMake:

shell> make cleanshell> rm CMakeCache.txt

Or, on Windows:

shell> devenv MySQL.sln /cleanshell> del CMakeCache.txt

If you build out of the source tree, remove and recreate your build directory before re-running CMake. For instructions on building outside of the source tree, see How to Build MySQL Server with CMake.

On some systems, warnings may occur due to differences in system include files. The following list describes other problems that have been found to occur most often when compiling MySQL:

For information about acquiring or updating tools, see the system requirements in Section 2.9, "Installing MySQL from Source".