Help setting up dependansies to install compton ?
Posted: 2021/01/13 10:47:38
[Tanghe@localhost compton]$ sudo make install
[sudo] password for Tanghe:
Package libconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `libconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libconfig', required by 'virtual:world', not found
Package 'dbus-1', required by 'virtual:world', not found
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdrm', required by 'virtual:world', not found
Package libconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `libconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libconfig', required by 'virtual:world', not found
Package 'dbus-1', required by 'virtual:world', not found
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_LIBCONFIG_LEGACY -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_XSYNC -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-95-g241bbc5-2018-02-22\"" -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -c src/compton.c
In file included from src/compton.h:10,
from src/compton.c:11:
src/common.h:122:10: fatal error: libconfig.h: No such file or directory
#include <libconfig.h>
^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:140: compton.o] Error 1
[Tanghe@localhost compton]$ dnf provides '*/libconfig.h'
Last metadata expiration check: 0:34:27 ago on Wed 13 Jan 2021 11:10:37 AM CET.
mimetic-devel-0.9.8-14.el8.x86_64 : Development files for mimetic
Repo : @System
Matched from:
Filename : /usr/include/mimetic/libconfig.h
mimetic-devel-0.9.8-14.el8.x86_64 : Development files for mimetic
Repo : epel
Matched from:
Filename : /usr/include/mimetic/libconfig.h
[Tanghe@localhost compton]$ sudo dnf install mimetic-devel-0.9.8-14.el8.x86_64
Last metadata expiration check: 0:42:19 ago on Wed 13 Jan 2021 11:03:05 AM CET.
Package mimetic-devel-0.9.8-14.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[sudo] password for Tanghe:
Package libconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `libconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libconfig', required by 'virtual:world', not found
Package 'dbus-1', required by 'virtual:world', not found
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdrm', required by 'virtual:world', not found
Package libconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `libconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libconfig', required by 'virtual:world', not found
Package 'dbus-1', required by 'virtual:world', not found
cc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_LIBCONFIG_LEGACY -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_XSYNC -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-95-g241bbc5-2018-02-22\"" -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -c src/compton.c
In file included from src/compton.h:10,
from src/compton.c:11:
src/common.h:122:10: fatal error: libconfig.h: No such file or directory
#include <libconfig.h>
^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:140: compton.o] Error 1
[Tanghe@localhost compton]$ dnf provides '*/libconfig.h'
Last metadata expiration check: 0:34:27 ago on Wed 13 Jan 2021 11:10:37 AM CET.
mimetic-devel-0.9.8-14.el8.x86_64 : Development files for mimetic
Repo : @System
Matched from:
Filename : /usr/include/mimetic/libconfig.h
mimetic-devel-0.9.8-14.el8.x86_64 : Development files for mimetic
Repo : epel
Matched from:
Filename : /usr/include/mimetic/libconfig.h
[Tanghe@localhost compton]$ sudo dnf install mimetic-devel-0.9.8-14.el8.x86_64
Last metadata expiration check: 0:42:19 ago on Wed 13 Jan 2021 11:03:05 AM CET.
Package mimetic-devel-0.9.8-14.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!