Re: Can't build PyGObject because jhbuild bootstrap fails
- From: Mark Summerfield <list qtrac plus com>
- To: Sebastian Pölsterl <sebp k-d-w org>
- Cc: python-hackers-list gnome org
- Subject: Re: Can't build PyGObject because jhbuild bootstrap fails
- Date: Tue, 24 Apr 2012 09:20:29 +0100
On Tue, 24 Apr 2012 09:32:41 +0200
Sebastian Pölsterl <sebp k-d-w org> wrote:
> Am 24.04.2012 08:51, schrieb Mark Summerfield:
> > Hi,
> Hi Mark,
> > I am on Debian stable (i.e., have rather out of date libraries).
> > I want to try out PyGObject with my locally built Python 3.1 and
> > Python 3.2 (in /home/mark/opt/python31 and /home/mark/opt/python32).
> > I went to this page:
> > http://readthedocs.org/docs/python-gtk-3-tutorial/en/latest/install.html
> > and followed the "Installing form Source" instructions.
> > The only difference between my .jhbuildrc and the sample is that I
> > set my prefix to /home/mark/opt/gnome instead of /opt/gnome so I
> > don't need superuser permissions.
> > This is the problem I hit:
> > $ jhbuild bootstrap
> > ... lots of stuff omitted (e.g., gettext, autoconf) ...
> > make: Leaving directory
> > `/home/mark/opt/gnome/gnome-apps-3.4.1/autoconf-2.68' *** Checking
> > out automake *** [3/4] jhbuild bootstrap: failed to
> > unpack /home/mark/opt/gnome/gnome-apps-3.4.1/pkgs/automake-1.11.3.tar.xz
> > So I unpacked automake myself
> > in /home/mark/opt/gnome/gnome-apps-3.4.1 (and tar didn't complain
> > so it isn't a bad archive), and tried jhbuild boostrap again, but
> > got the same error:-(
> > Can anyone advise?
> Chances are you might only miss a build dependency, have a look at
I installed every -dev package listed that I didn't already have.
I then tried jhbuild bootstrap again and got exactly the same problem.
So then I tried jhbuild bootstrap --ignore-system; this built more
things (e.g., m4), but still failed to build automake with exactly the
same error (except it was [5/7] instead of [3/4]).
BTW I had already tried building pygobject from the tarball, but Debian
stable's libraries are too old for it to build, but with a strange
$ PYTHON=/home/mark/opt/python31/bin/python3 ./configure --prefix /home/mark/opt/pygobject
checking for a BSD-compatible install... /usr/bin/install -c
... lots of checking lines omitted ...
checking for GI... no
configure: error: Package requirements (glib-2.0 >= 2.24.0
gobject-introspection-1.0 >= 1.29.0
) were not met:
No package 'gobject-introspection-1.0' found
This is weird because I have gobject-introspection installed.
But in any case this wouldn't help much even if it worked because it
would give me Python 3 with Gtk 2 whereas I want to try out Python 3
with Gtk 3.
I have an Xubuntu system that has packages for all this but again it is
Python 3 for Gtk 2 not Gtk 3, so it is rather hard to learn Python 3 +
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Programming in Go" - ISBN 0321774639
] [Thread Prev