Hi for all.
When I run cmake . to install the program many errors are returned.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Checking for module 'polkit-gobject-1'
-- No package 'polkit-gobject-1' found
CMake Warning (dev) at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (PkgConfig)
does not match the name of the calling package (Procps). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
cmake/Modules/FindProcps.cmake:138 (INCLUDE)
CMakeLists.txt:91 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for library procps and headers for dynamic linking.
-- I: procps-ng required, other procps libraries will not be found.
-- W: pkg-config failed to find libprocps.
-- E: Include directory of procps-ng library not found.
-- E: Library procps-ng not found.
CMake Error at cmake/Modules/FindProcps.cmake:391 (message):
Library procps-ng for dynamic linking not found.
REASON: Include directory of procps-ng library not found.
REASON: Library procps-ng not found.
You can override location of shared libprocps library and the include
directory by setting PROCPS_SAHRED_LIBRARY and PROCPS_SHARED_INCLUDE_DIR
cmake variables.
PROCPS_SHARED_LIBRARY specifies full path to the library
(i.e. path to the libprocps.so file)
PROCPS_SHARED_INCLUDE_DIR specifies directory which contains
the proc/procps.h header.
If you insist on dynamic linkage to shared libprocps, update or patch
libprocps to export all symbols that application needs. If you manage your
solution to be persistent, future proof (in sense of API changes) and
officially accepted by your GNU/Linux distribution, please contact authors.
Otherwise consider static linkage to libprocps by setting cmake variable
PROCPS_STATIC, e.g. by running
Hi for all. When I run cmake . to install the program many errors are returned.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Checking for module 'polkit-gobject-1' -- No package 'polkit-gobject-1' found CMake Warning (dev) at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to
find_package_handle_standard_args
(PkgConfig) does not match the name of the calling package (Procps). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args) cmake/Modules/FindProcps.cmake:138 (INCLUDE) CMakeLists.txt:91 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.-- Checking for library procps and headers for dynamic linking. -- I: procps-ng required, other procps libraries will not be found. -- W: pkg-config failed to find libprocps. -- E: Include directory of procps-ng library not found. -- E: Library procps-ng not found. CMake Error at cmake/Modules/FindProcps.cmake:391 (message): Library procps-ng for dynamic linking not found.
REASON: Include directory of procps-ng library not found. REASON: Library procps-ng not found.
You can override location of shared libprocps library and the include directory by setting PROCPS_SAHRED_LIBRARY and PROCPS_SHARED_INCLUDE_DIR cmake variables.
You may achieve this e.g. by running
cmake -D PROCPS_SHARED_LIBRARY:FILEPATH=/path/to/libprocps.so -D PROCPS_SHARED_INCLUDE_DIR:PATH=/path/to/include/dir .
If you insist on dynamic linkage to shared libprocps, update or patch libprocps to export all symbols that application needs. If you manage your solution to be persistent, future proof (in sense of API changes) and officially accepted by your GNU/Linux distribution, please contact authors.
Otherwise consider static linkage to libprocps by setting cmake variable PROCPS_STATIC, e.g. by running
cmake -D PROCPS_STATIC:BOOL=ON .
Call Stack (most recent call first): cmake/Modules/FindProcps.cmake:409 (fail) cmake/Modules/FindProcps.cmake:667 (check_failed) CMakeLists.txt:91 (find_package)
-- Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) CMake Error at CMakeLists.txt:126 (message): lua 5.1 not found
-- Configuring incomplete, errors occurred! See also "/home/user/Downloads/ulatencyd-master/CMakeFiles/CMakeOutput.log".
All necessary packages are installed.
Fix it, please, than you.