Page 1 of 1

Help setting up dependansies to install compton ?

Posted: 2021/01/13 10:47:38
by DrunkenPanda2000
[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!

Re: Help setting up dependansies to install compton ?

Posted: 2021/01/13 10:48:00
by DrunkenPanda2000
Can`t find libxconfig.h
mimetic-devel already installed ?
Using tryone133 version of compton

Code: Select all

[quote=DrunkenPanda2000 post_id=323133 time=1610534858 user_id=111483]
[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!
[/quote]

Re: Help setting up dependansies to install compton ?

Posted: 2021/01/13 11:34:02
by TrevorH

Code: Select all

[root@centos8 ~]# dnf provides '*/libconfig.pc' '*/libdrm.pc' '*/libconfig.h'
Last metadata expiration check: 1:59:34 ago on Wed Jan 13 09:33:29 2021.
libconfig-devel-1.5-9.el8.i686 : Development files for libconfig
Repo        : powertools
Matched from:
Filename    : /usr/include/libconfig.h
Filename    : /usr/lib/pkgconfig/libconfig.pc

libconfig-devel-1.5-9.el8.i686 : Development files for libconfig
Repo        : powertools
Matched from:
Filename    : /usr/include/libconfig.h
Filename    : /usr/lib/pkgconfig/libconfig.pc

libconfig-devel-1.5-9.el8.x86_64 : Development files for libconfig
Repo        : powertools
Matched from:
Filename    : /usr/include/libconfig.h
Filename    : /usr/lib64/pkgconfig/libconfig.pc

libconfig-devel-1.5-9.el8.x86_64 : Development files for libconfig
Repo        : powertools
Matched from:
Filename    : /usr/include/libconfig.h
Filename    : /usr/lib64/pkgconfig/libconfig.pc

libdrm-devel-2.4.101-1.el8.i686 : Direct Rendering Manager development package
Repo        : appstream
Matched from:
Filename    : /usr/lib/pkgconfig/libdrm.pc

libdrm-devel-2.4.101-1.el8.x86_64 : Direct Rendering Manager development package
Repo        : appstream
Matched from:
Filename    : /usr/lib64/pkgconfig/libdrm.pc

mimetic-devel-0.9.8-14.el8.x86_64 : Development files for mimetic
Repo        : epel
Matched from:
Filename    : /usr/include/mimetic/libconfig.h
mimetic is the wrong package, try libconfig-devel.