From aee7b6b24d375c8dbd7dfc23e34de8f96eb2596f Mon Sep 17 00:00:00 2001 From: lethosor Date: Sat, 20 Jul 2019 17:11:11 -0400 Subject: [PATCH] Note about pthread/cmake <3.8 issue (from ragundo) --- docs/Compile.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Compile.rst b/docs/Compile.rst index fd8079861..f30775a03 100644 --- a/docs/Compile.rst +++ b/docs/Compile.rst @@ -152,6 +152,12 @@ Before you can build anything, you'll also need ``cmake``. It is advisable to also get ``ccmake`` on distributions that split the cmake package into multiple parts. +You will need pthread; most systems should have this already. Note that older +CMake versions may have trouble detecting pthread, so if you run into +pthread-related errors and pthread is installed, you may need to upgrade CMake, +either by downloading it from `cmake.org `_ or +through your package manager, if possible. + You also need zlib, libsdl (1.2, not sdl2, like DF), perl, and the XML::LibXML and XML::LibXSLT perl packages (for the code generation parts). You should be able to find them in your distro repositories.