I don’t know if this is the right place to ask my question…
I cannot build GTK with jbuild on my Leopard 10.5.8 system.
I have deleted the Leopard built-in Python 2.5 folder (At that time I didn’t know that deleting the default system Python is not good…) and I have installed Python 2.7 (from the .dmg file).
I also Installed Apple Developer Tools, which I guess should be XCode 3.0.
On the terminal I verified my Python version:
$ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python
Then I followed this guide to build GTK:
sidhosting.co.uk/josh_fradley/ge … g-on-os-x/
which is basically the same as the one in Gnome site:
I followed the first guide, but it gives me some errors:
macbook-pro:~ francesco$ curl -o gtk-osx-build-setup.sh https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3716 100 3716 0 0 1612 0 0:00:02 0:00:02 --:--:-- 1814k macbook-pro:~ francesco$ sh gtk-osx-build-setup.sh Checking out jhbuild (2.32.4) from git... From git://git.gnome.org/jhbuild * tag 2.32.4 -> FETCH_HEAD Installing jhbuild... Installing jhbuild configuration... Installing gtk-osx moduleset files... PATH does not contain /Users/francesco/.local/bin, it is recommended that you add that. Done. macbook-pro:~ francesco$ PATH=$HOME/.local/bin:$PATH macbook-pro:~ francesco$ export PATH macbook-pro:~ francesco$ jhbuild bootstrap Traceback (most recent call last): File "/Users/francesco/Source/jhbuild/jhbuild/config.py", line 212, in load execfile(self.filename, config) File "/Users/francesco/.jhbuildrc", line 90, in <module> _xcodeversion = xcode_ver() File "/Users/francesco/.jhbuildrc", line 89, in xcode_ver return float(exp.match(_ver).group(1)) AttributeError: 'NoneType' object has no attribute 'group' jhbuild: could not load config file
Anyone can tell me why I got this error?
It seems that jbuild doesn’t see my xcode version? But I did install it!
It’s very strange because I suceeded to do ‘jbuild bootstrap’ before when I used to have Python 2.5, although I got stuck for other commands more forward.