Re: [Gtk-osx-users] [gtk-osx-users] Problem Building on 10.8.2
Status: Beta
Brought to you by:
jralls
From: John R. <jr...@ce...> - 2012-11-27 12:10:20
|
On Nov 27, 2012, at 9:36 AM, Chris Share <cps...@ya...> wrote: > Hi, > > I did some work with gtk-osx a couple of years ago and managed to get it working. > > I'm currently working on OSX 10.8.2 and would like to use gtk-osx for a new project I'm working on. > > However, I'm having some problems with the build: > > I've downloaded and run > > sh gtk-osx-build-setup.sh > > and I've also added ~/.local/bin to my path. > > When I try to start the build process I get the following error: > > New-MacBook:~ chris$ jhbuild bootstrap > Traceback (most recent call last): > File "/Users/chris/Source/jhbuild/jhbuild/config.py", line 212, in load > execfile(self.filename, config) > File "/Users/chris/.jhbuildrc", line 538, in <module> > execfile(_userrc) > File "/Users/chris/.jhbuildrc-custom", line 112, in <module> > if _osx_version.startswith("8"): > AttributeError: 'float' object has no attribute 'startswith' > jhbuild: could not load config file > > What am I missing here? When Lion came out I changed _osx_version from a string to a float so that I could use < and > with it. Your .jhbuildrc-custom is from before that. BTW, I also changed _osx_version so that it has the expected value rather than the offset-by-4 value of yore, so Tiger is now 4.x instead of "8*. If you need to support pre-Lion Macs with your app, be sure to read the notes about using Xcode3 at https://live.gnome.org/GTK%2B/OSX/Building#Installing_XCode_3_on_XCode_4_systems Regards, John Ralls |