package 'granite' not found

Asked by pella.grind on 2012-02-21

I'm triyng to compile SCRATCH but it get this error below...: P.S. granite was well compiled and installed before this operation.

-- checking for module 'granite'
-- package 'granite' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:31 (pkg_check_modules)

-- checking for modules 'gtksourceview-3.0;gee-1.0;gobject-2.0;glib-2.0;gio-2.0;gconf-2.0;gtk+-3.0;granite'
-- package 'granite' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:34 (pkg_check_modules)

-- checking for a minimum Vala version of 0.12.0
-- found Vala, version 0.14.2
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- checking for a minimum Vala version of 0.12.0
-- found Vala, version 0.14.2
-- Configuring incomplete, errors occurred!

Question information

Language:
English Edit question
Status:
Answered
For:
Scratch Edit question
Assignee:
No assignee Edit question
Last query:
2012-02-21
Last reply:
2012-12-26
pella.grind (pella-grind) said : #1

Im using this:
Fedora16 3.2.6-3.fc16.x86_64
cmake version 2.8.7

i've reached GRANITE from launchpad and compiled with cmake as well as done.
In Fedora i use ths BAZAR version: Bazaar 2.4.2

Mario Guerriero (mefrio-g) said : #2

you can just try to reinstall granite. Every thing is ok in the CMakeLists of Scratch...

David Gomes (davidgomes) said : #3

bzr branch lp:granite;cd granite;mkdir build;cd build;cmake .. -DCMAKE_INSTALL_PREFIX=/usr;sudo make install;

Try that.

David Gomes (davidgomes) said : #4

http://pkgs.org/fedora-17/rpm-sphere-x86_64/granite-0.1.0-12.1.x86_64.rpm.html

Install that rpm (see: http://www.rpm.org/max-rpm/ch-rpm-install.html).

After installing that, go into the granite/ source folder and do:

mkdir build;cd build;cmake .. -DCMAKE_INSTALL_PREFIX=/usr;sudo make install;

Doing this will update Granite to trunk/.

Then, it should work.

Can you help with this problem?

Provide an answer of your own, or ask pella.grind for more information if necessary.

To post a message you must log in.