Dependency fails when I try to build Granite from sources
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
Configuration
Ubuntu version: 16.04
pkg-config --modversion gtk+-3.0
returns 3.18.9
Problem
I am currently trying to build Granite from sources.
As specified in the documentation, I go to the build/
directory and I run cmake -DCMAKE_INSTALL_PREFIX=/usr ..
but it throws an error:
crystale@computer:~/development/granite/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- checking for a minimum Vala version of 0.34.7
-- found Vala, version 0.36.13
-- Checking for modules 'gtk+-3.0>=3.22;gio-unix-2.0;gthread-2.0;gee-0.8'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:50 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/crystale/development/granite/build/CMakeFiles/CMakeOutput.log".
It seems CMake is not able to find some dependencies but I installed all those listed on the documentation, I don't understand what's missing.
After @steeldriver comment, it seems the problem comes from my GTK version which does not match the requirements of Granite (I have v3.18
but Granite needs v3.22
at least). I tried to downgrade the needed version by editing CMakeLists.txt
(in case 3.22
was not really needed) but Granite did not compile.
So now I'm looking for a way to upgrade GTK or have two versions of it on my computer.
software-installation dependencies compiling cmake
add a comment |Â
up vote
0
down vote
favorite
Configuration
Ubuntu version: 16.04
pkg-config --modversion gtk+-3.0
returns 3.18.9
Problem
I am currently trying to build Granite from sources.
As specified in the documentation, I go to the build/
directory and I run cmake -DCMAKE_INSTALL_PREFIX=/usr ..
but it throws an error:
crystale@computer:~/development/granite/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- checking for a minimum Vala version of 0.34.7
-- found Vala, version 0.36.13
-- Checking for modules 'gtk+-3.0>=3.22;gio-unix-2.0;gthread-2.0;gee-0.8'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:50 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/crystale/development/granite/build/CMakeFiles/CMakeOutput.log".
It seems CMake is not able to find some dependencies but I installed all those listed on the documentation, I don't understand what's missing.
After @steeldriver comment, it seems the problem comes from my GTK version which does not match the requirements of Granite (I have v3.18
but Granite needs v3.22
at least). I tried to downgrade the needed version by editing CMakeLists.txt
(in case 3.22
was not really needed) but Granite did not compile.
So now I'm looking for a way to upgrade GTK or have two versions of it on my computer.
software-installation dependencies compiling cmake
1
What version of Ubuntu are you using? are you sure that the dependency version requirements are met? For example, what is the output ofpkg-config --modversion gtk+-3.0
â steeldriver
May 18 at 13:00
I've edited my question to add those informations. It seems my GTK is only version3.18
but Granit needs the3.22
at least (as specified in its documentation). So now my question is: is it safe/possible to upgrade my GTK version? Or to have two versions, one for my usage and the other for the dev?
â darckcrystale
May 18 at 13:28
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Configuration
Ubuntu version: 16.04
pkg-config --modversion gtk+-3.0
returns 3.18.9
Problem
I am currently trying to build Granite from sources.
As specified in the documentation, I go to the build/
directory and I run cmake -DCMAKE_INSTALL_PREFIX=/usr ..
but it throws an error:
crystale@computer:~/development/granite/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- checking for a minimum Vala version of 0.34.7
-- found Vala, version 0.36.13
-- Checking for modules 'gtk+-3.0>=3.22;gio-unix-2.0;gthread-2.0;gee-0.8'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:50 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/crystale/development/granite/build/CMakeFiles/CMakeOutput.log".
It seems CMake is not able to find some dependencies but I installed all those listed on the documentation, I don't understand what's missing.
After @steeldriver comment, it seems the problem comes from my GTK version which does not match the requirements of Granite (I have v3.18
but Granite needs v3.22
at least). I tried to downgrade the needed version by editing CMakeLists.txt
(in case 3.22
was not really needed) but Granite did not compile.
So now I'm looking for a way to upgrade GTK or have two versions of it on my computer.
software-installation dependencies compiling cmake
Configuration
Ubuntu version: 16.04
pkg-config --modversion gtk+-3.0
returns 3.18.9
Problem
I am currently trying to build Granite from sources.
As specified in the documentation, I go to the build/
directory and I run cmake -DCMAKE_INSTALL_PREFIX=/usr ..
but it throws an error:
crystale@computer:~/development/granite/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- checking for a minimum Vala version of 0.34.7
-- found Vala, version 0.36.13
-- Checking for modules 'gtk+-3.0>=3.22;gio-unix-2.0;gthread-2.0;gee-0.8'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:50 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/crystale/development/granite/build/CMakeFiles/CMakeOutput.log".
It seems CMake is not able to find some dependencies but I installed all those listed on the documentation, I don't understand what's missing.
After @steeldriver comment, it seems the problem comes from my GTK version which does not match the requirements of Granite (I have v3.18
but Granite needs v3.22
at least). I tried to downgrade the needed version by editing CMakeLists.txt
(in case 3.22
was not really needed) but Granite did not compile.
So now I'm looking for a way to upgrade GTK or have two versions of it on my computer.
software-installation dependencies compiling cmake
edited May 18 at 13:36
asked May 18 at 12:41
![](https://i.stack.imgur.com/4KpIz.png?s=32&g=1)
![](https://i.stack.imgur.com/4KpIz.png?s=32&g=1)
darckcrystale
1288
1288
1
What version of Ubuntu are you using? are you sure that the dependency version requirements are met? For example, what is the output ofpkg-config --modversion gtk+-3.0
â steeldriver
May 18 at 13:00
I've edited my question to add those informations. It seems my GTK is only version3.18
but Granit needs the3.22
at least (as specified in its documentation). So now my question is: is it safe/possible to upgrade my GTK version? Or to have two versions, one for my usage and the other for the dev?
â darckcrystale
May 18 at 13:28
add a comment |Â
1
What version of Ubuntu are you using? are you sure that the dependency version requirements are met? For example, what is the output ofpkg-config --modversion gtk+-3.0
â steeldriver
May 18 at 13:00
I've edited my question to add those informations. It seems my GTK is only version3.18
but Granit needs the3.22
at least (as specified in its documentation). So now my question is: is it safe/possible to upgrade my GTK version? Or to have two versions, one for my usage and the other for the dev?
â darckcrystale
May 18 at 13:28
1
1
What version of Ubuntu are you using? are you sure that the dependency version requirements are met? For example, what is the output of
pkg-config --modversion gtk+-3.0
â steeldriver
May 18 at 13:00
What version of Ubuntu are you using? are you sure that the dependency version requirements are met? For example, what is the output of
pkg-config --modversion gtk+-3.0
â steeldriver
May 18 at 13:00
I've edited my question to add those informations. It seems my GTK is only version
3.18
but Granit needs the 3.22
at least (as specified in its documentation). So now my question is: is it safe/possible to upgrade my GTK version? Or to have two versions, one for my usage and the other for the dev?â darckcrystale
May 18 at 13:28
I've edited my question to add those informations. It seems my GTK is only version
3.18
but Granit needs the 3.22
at least (as specified in its documentation). So now my question is: is it safe/possible to upgrade my GTK version? Or to have two versions, one for my usage and the other for the dev?â darckcrystale
May 18 at 13:28
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037744%2fdependency-fails-when-i-try-to-build-granite-from-sources%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
What version of Ubuntu are you using? are you sure that the dependency version requirements are met? For example, what is the output of
pkg-config --modversion gtk+-3.0
â steeldriver
May 18 at 13:00
I've edited my question to add those informations. It seems my GTK is only version
3.18
but Granit needs the3.22
at least (as specified in its documentation). So now my question is: is it safe/possible to upgrade my GTK version? Or to have two versions, one for my usage and the other for the dev?â darckcrystale
May 18 at 13:28