Building Gnome with Arch Linux

So this post describes how I built the latest Gnome under ArchLinux.I pretty much followed the Guide by the gnome-love team and just write here what’s different.

The first thing you need to do is installing python2 and set it as default python library as described here. And of course you need to install other missing dependencies. jhbuild will still say that python2 is not found, so any build needs to be done with the –nodeps flag.
In addition to all the information you got from the official guide, I also added these lines to .jhbuildrc,

os.environ['PYTHON'] = '/usr/bin/python2'
addpath('PYTHONPATH', '/usr/lib/python2.7/site-packages')
addpath('PYTHONPATH', os.path.join(prefix, 'lib/python2.7/site-packages'))

but I’m not sure if these solved the errors I got before. At least they don’t seem to hurt 🙂
Several other errors could be solved with installing missing dependencies or via distclean.

In some modules I had to edit the file and replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS, but aclocal or autoconf is telling you that. Arch seems to have a newer version than the one used by most developers.

What was left was a vala compile error in the module dconf (atm I added this to ignore in .jhbuildrc). Here is the build log:

A last tip. If you get an error look for the first error message. Fixing it often fixes the following ones.
If you have any questions don’t hestitate to ask. But better go to #gnome-love IRC. They are probably smarter than me.

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>