Problems bootstrapping jhbuild

Hi. I'm wondering: I've been using jhbuild for development building modules such as glib, gtk+, glibmm, etc. I hadn't "bootstrapped" jhbuild in a while and after a recent update of jhbuild, I got a message from jhbuild saying that a bootstrap was needed. When I do this (`jhbuild bootstrap'), it builds 10 out of 15 (10/15) modules successfully, but can't build the eleventh (pyxml). After the checkout the build dies with the following error:

*** Checking out pyxml *** [11/15]
*** Building pyxml *** [11/15]
python build
Traceback (most recent call last):
 File "", line 127, in ?
   config_h_vars = parse_config_h(open(config_h))
IOError: [Errno 2] No such file or directory: '/opt/usr-jhbuild/include/multiarch-x86_64-linux/python2.4/pyconfig.h'

The error occurs even if I delete the pyxml source and have jhbuild check out a new copy. I'm running a debian lenny/sid amd64 system and I've attached a copy of my .jhbuildrc file for reference (I'm building gnome-2.24 modules). Any help would be much appreciated. Thanks.

José Alburquerque

# -*- mode: python -*-

# edit this file to match your settings and copy it to ~/.jhbuildrc

# if you have a GNOME svn account, uncomment this line
repos[''] = 'svn+ssh://jaalburqu svn gnome org/svn/'
repos['svn.gnomemm'] = 'svn+ssh://jaalburqu svn gnome org/svn/gnomemm/'

# what module set should be used.  The default at the moment is 'gnome-2.16',
# but it can be any of the files in the modulesets directory, or even
# the URL of a module set file on a web server.
moduleset = 'gnome-2.24'

# A list of the modules to build.  Defaults to the Gnome Desktop and
# developer platform.
# modules = [ 'meta-gnome-desktop' ]
modules = [ 'gstreamermm' ]

# what directory should the source be checked out to?
checkoutroot = os.path.expanduser('/usr/src/jhbuild-sources')

# the prefix to configure/install modules to (must have write access)
prefix = '/opt/usr-jhbuild'

# if you do not want to use system-installed libraries for your builds, comment
# out the lines below
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'lib', 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'local', 'share', 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'local', 'lib', 'pkgconfig'))

# extra arguments to pass to all scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'

# set CFLAGS:
#os.environ['CFLAGS'] = '-g -O2'
os.environ['CFLAGS'] = '-g -O0'

# On SMP systems you may use something like this to improve compilation time:
# be aware that not all modules compile correctly with make -j2
#os.environ['MAKEFLAGS'] = '-j2'

# a alternative install program to use.
# The included install-check program won't update timestamps if the
# header hasn't changed
os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')

#addpath('PERL5LIB', '/usr/lib/glibmm-2.4/proc/pm')
addpath('PERL5LIB', '/usr/src/jhbuild-sources/glibmm/tools/pm')

addpath('PATH', '/usr/src/jhbuild-sources/glibmm/tools/')
addpath('PATH', '/usr/src/jhbuild-sources/pygtk/codegen/')

#library path configuration
#addpath('LD_LIBRARY_PATH', '/lib:/usr/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu')
addpath('LD_LIBRARY_PATH', '/usr/local/lib:/usr/lib')

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