Re: problems building gnome-shell
- From: Owen Taylor <otaylor redhat com>
- To: Carlos Diógenes <cerdiogenes gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: problems building gnome-shell
- Date: Sat, 06 Jun 2009 11:08:03 -0400
On Fri, 2009-06-05 at 21:47 -0300, Carlos Diógenes wrote:
> Hi,
>
> While building gnome-shell I went into these problems:
>
> When compiling clutter I have the following error:
> cc1: error: unrecognized command line option "-Wempty-body"
Can you file a bug in bugzilla.openedhand.com about this with details
about your version of gcc? Most likely this warning is a recent
addition.
> I removed this option from the configure.ac and re-configure and tried
> to compile, but again I ended in trouble:
>
> CC clutter-util.o
> LINK libclutter-glx-0.9.la
> Traceback (most recent call last):
> File "/home/kadu/gnome-shell/install/bin/g-ir-scanner", line 39, in
> <module>
> sys.exit(scanner_main(sys.argv))
> File
> "/home/kadu/gnome-shell/install/lib/gobject-introspection/giscanner/scannermain.py", line 287, in scanner_main
> transformer.register_include(include_obj)
> File
> "/home/kadu/gnome-shell/install/lib/gobject-introspection/giscanner/transformer.py", line 111, in register_include
> filename = self._find_include(include)
> File
> "/home/kadu/gnome-shell/install/lib/gobject-introspection/giscanner/transformer.py", line 128, in _find_include
> % (girname, searchdirs))
> ValueError: Couldn't find include 'Cogl-0.9.gir' (search path:
> ['json', '/home/kadu/gnome-shell/install/share/gir-1.0',
> '/usr/share/gir-1.0', '/home/kadu/gnome-shell/install/share/gir-1.0',
> '/usr/share/gir-1.0'])
>
> Don't know how to overcome this, any hint?
Can you try editing clutter/clutter/Makefile.am and adding to the line:
Clutter- CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter- CLUTTER_FLAVOUR@- CLUTTER_API_VERSION@.la
two more dependencies:
Cogl- CLUTTER_API_VERSION@.gir ClutterJson- CLUTTER_API_VERSION@.gir
It looks like we might need to force those to be built before Clutter-0.9.gir. If that helps, please file a (separate) bug about that as well.
Thanks!
- Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]