Re: [gtk-osx-users] [Gtk-osx-users] Problem Building on 10.8.2



On Nov 27, 2012, at 9:36 AM, Chris Share <cpsmusic yahoo com> 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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users


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