Re: Gnome-Shell building fails on Arch Linux



Hi there,

El mar, 27-04-2010 a las 18:45 +0200, Alessandro Crismani escribió:
> I'm using Arch Linux and I would like to build a bleeding edge snapshot 
> of gnome-shell, however jhbuild fail at step 3 with the following error:
> 
> ./json-parser.c:916:38: error: comparison between ‘GTokenType’ and ‘enum 
> <anonymous>’

This is a combination of
(1) gcc 4.5 being overly pedantic and warning about legitimate code
(2) CFLAGS containing -Werror to treat warnings as errors

The easiest "fix" is to drop to the console (it's "4" in jhbuild, ain't
it?) and resume the build with "make CFLAGS=-Wno-error" - it should
finish successfully, so you can exit the console and resume jhbuild.

Yup, bleeding edge can be painful ;)

You may decide to overwrite -Werror permanently for json-glib by adding
the following to your .jhbuildrc-custom:

module_makeargs['json-glib'] = 'CFLAGS=-Wno-error'


> If I continue the build process it ends saying success 

... but if you just skipped json-glib there's a dependency missing.


> when I launch ./gnome-shell --replace I get something like GConf schemas 
> missing, killing the shell.

Possibly you need to update jhbuild - assuming that you setup the build
system with the gnome-shell-build-setup.sh script (you did, right?),
just re-run the script.

Hope that gets you running!



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