CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argumentvalue. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:639 (message): The following required packages were not found: - libdrm Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:867 (_pkg_check_modules_internal) CMakeLists.txt:45 (pkg_check_modules) Traceback (most recent call last): File "/var/pisi/freshplayerplugin/actions.py", line 15, in setup -DWITH_GTK=3") File "/usr/lib/pisilinux/pisi/actionsapi/cmaketools.py", line 65, in configure if system(args): File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system error(_("Command \"%s\" failed, return value was %d.") % (command, retValue)) File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error raise Error(msg) pisi.actionsapi.Error: Command "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DWITH_GTK=3 ." failed, return value was 1. [01;31mAction script error caught. [0m[01;33m*** 1 error(s), 0 warning(s) [0m[01;31mProgram terminated. [0m