Re: [Gtk-osx-users] Trying to build gtk-osx on Lion

Well a little investigation it appears that Python is trying to load, however the Lion supplied Python 2.7.1 only includes the byte complied version of all the library files.  So I have os.pyc and os.pyo, but no This should work, right???

Thanks in advance.

On Jul 12, 2011, at 12:23 AM, Carl Muckenhirn wrote:

> Has anyone been able to get gtk-osx built on Lion?
> I'm following the directions on the wiki. I've installed git and successfully run the setup script.
> When I go to do the bootstrap I get this error:
> MacroMacBookPro:~ carl_muckenhirn$ alias
> alias jhbuild='PATH=~/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin jhbuild'
> MacroMacBookPro:~ carl_muckenhirn$ jhbuild bootstrap
> Traceback (most recent call last):
>  File "/Users/carl_muckenhirn/Source/jhbuild/jhbuild/", line 212, in load
>    execfile(self.filename, config)
>  File "/Users/carl_muckenhirn/.jhbuildrc", line 465, in <module>
>    execfile(_userrc)
>  File "/Users/carl_muckenhirn/.jhbuildrc-custom", line 119, in <module>
>    setup_sdk(target=_target, sdk_version="native", architectures=[_default_arch])
>  File "/Users/carl_muckenhirn/.jhbuildrc", line 170, in setup_sdk
>    os.environ["MACOSX_DEPLOYMENT_TARGET"] = target
>  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 471, in __setitem__
> TypeError: must be string, not None
> jhbuild: could not load config file
> I'm not sure what exactly I'm doing wrong. I note that Lion is shipping with Python 2.7, but it seems to be a more fundamental issue.
> TIA,
> carl.
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net

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