Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meny errors when install program #68

Open
phk1968 opened this issue Apr 22, 2024 · 1 comment
Open

Meny errors when install program #68

phk1968 opened this issue Apr 22, 2024 · 1 comment

Comments

@phk1968
Copy link

phk1968 commented Apr 22, 2024

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.

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.

@hakavlad
Copy link

ulatencyd works only with cgroup v1, which is deprecated.

Are you sure it will help you? Modern Linux systems don't even support cgroup1, at least by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants