You are not logged in.

#1 2016-04-27 16:21:51

smarch
Member
Registered: 2016-04-27
Posts: 1

Building and can't find installed dependency (GTK3)

Basically anything that I build with a dependency on GTK3 complains that it can't find it/determine the version.
I'm not sure what kind of information to provide really, but here is an example from building gtk-theme-arc

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: error: Could not determine GNOME version. Install GTK3 and its development files (libgtk-3-dev for Debian/Ubuntu based distros and gtk3-devel for RPM based distros).
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build gtk-theme-arc.

This is cairo-dock

-- Checking for modules 'xtst;xcomposite;xrandr;xrender'
--   Found xtst, version 1.2.2
--   Found xcomposite, version 0.4.4
--   Found xrandr, version 1.5.0
--   Found xrender, version 0.9.9
-- Checking for module 'xinerama'
--   Found xinerama, version 1.1.3
-- Checking for module 'wayland-client>=1.0.0'
--   Found wayland-client, version 1.9.90
-- Checking for module 'gtk+-3.0>=3.4.0'
--   
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:363 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:528 (_pkg_check_modules_internal)
  CMakeLists.txt:162 (pkg_check_modules)

The GTK3 version I have installed:

 $ pkg-config --modversion gtk+-3.0
3.20.3

Offline

#2 2016-04-27 16:44:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Building and can't find installed dependency (GTK3)

For gtk-theme-arc, see if there's a config.log file in the source dir.

Last edited by Scimmia (2016-04-27 16:46:42)

Online

#3 2016-04-27 16:48:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Building and can't find installed dependency (GTK3)

How/why are you building cairo-dock?  Are you using a PKGBUILD?  Where did you get it?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB