Re: [Rhythmbox-devel] Error while building Rhythmbox - glib-compile-schemas





On Sun, Jun 2, 2013 at 6:40 AM, Ankit Arora <ankitarora121 gmail com> wrote:
I'm sorry, I should've mentioned. I'm on Ubuntu 12.04 64bit


On Sun, Jun 2, 2013 at 5:09 PM, Ankit Arora <ankitarora121 gmail com> wrote:
I'm trying to start to work on Rhythmbox (my first venture into open source), but I ran into an error. 

I setup JHBuild and then ran:

jhbuild buildone rhythmbox

and here's the result:
..snip..
checking whether make supports nested variables... yes
checking for pkg-config... /home/ankit/dev/jhbuild/install/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gobject-introspection... yes
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by '/usr/lib64/pkgconfig/gobject-introspection-1.0.pc', not found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by '/usr/lib64/pkgconfig/gobject-introspection-1.0.pc', not found
..snip..
configure: error: glib-compile-schemas not found.

Googling ubuntu 12.04 and glib-compile-schemas seems to suggest it's in the libglib2.0-bin package.  I don't have an Ubuntu install, so I can't check.  You also seem to be missing the glib development files - note the complaining ab out a missing glib-2.0.pc.  That'll be something like libglib2.0-dev.

Here's a post about using apt/dpkg tools to find what package provides a file:
http://www.cyberciti.biz/faq/equivalent-of-rpm-qf-command/

On my debian box, I get
$ dpkg -S glib-compile-schemas
libglib2.0-0:amd64: /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas

I hope that helps. I'm not really familiar with JHBuild.

Matt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]