#35689: py27-wxpython: NameError: global name 'log' is not defined -------------------------------+------------------- Reporter: Deil.Christoph@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-wxpython | -------------------------------+------------------- Comment (by mojca@…): Are you still able to reproduce the error? This actually seems like two unrelated errors here. The one on 10.5 tries to use: {{{ log.warn("Compiling with an SDK that doesn't seem to exist: %s", }}} and I suspect that wxPython might be smart for you with something like {{{ cflags.append("/Developer/SDKs/MacOSX10.3.9.sdk") }}} but on the other hand it might indeed be a problem that "{{{log}}}" doesn't exist. I think I removed setting any SDK on anything else but Lion, but it would be helpful if those experiencing the problem could try to test again with the new port {{{py27-wxpython-2.8 +carbon}}} (or {{{+gtk}}} for that matter). -- Ticket URL: <https://trac.macports.org/ticket/35689#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X