/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module jhbuild.

Before building GNOME we have to check if the 'jhbuild' command works. Just run the command 'jhbuild list', it should return the list of the modules to build. Otherwise, you may see one of the following errors:

Error - Python xml packages are required but could not be found

Traceback (most recent call last):
  File "/home/guest/bin/jhbuild", line 5, in ?
    import jhbuild.main
  File "/home/guest/jhbuild/jhbuild/main.py", line 26, in ?
    import jhbuild.commands
  File "/home/guest/jhbuild/jhbuild/commands/__init__.py", line 20, in ?
    import base
  File "/home/guest/jhbuild/jhbuild/commands/base.py", line 22, in ?
    import jhbuild.moduleset
  File "/home/guest/jhbuild/jhbuild/moduleset.py", line 29, in ?
    raise FatalError('Python xml packages are required but could not be found')
  jhbuild.errors.FatalError: Python xml packages are required but could not be found


Install the xml packages for your distribution:

Debian/Ubuntu: python2.4-xml Fedora/RHEL: PyXML

You can also rebuild your own python, instructions follows.

Download the sources from: http://www.python.org/ftp/python/ and build it. Go in the python directory:

 ./configure --prefix=/opt/gnome2
 make install

(Here I assumed that the <prefix> directory is /opt/gnome2) Then, set your PATH as:

 export PATH=/opt/gnome2/bin:$PATH
 export LD_LIBRARY_PATH=/opt/gnome2/lib:$LD_LIBRARY_PATH

Then check:

 jhbuild list


Projects/Jhbuild/Issues/jhbuild (last edited 2014-03-06 13:06:34 by CarlosSoriano)