[MacPorts] #40308: py-wxpython-2.8 +gtk: missing gtk include path (-I${prefix}/include/gtk-2.0)

MacPorts noreply at macports.org
Fri Aug 30 15:12:15 PDT 2013


#40308: py-wxpython-2.8 +gtk: missing gtk include path
(-I${prefix}/include/gtk-2.0)
------------------------------+---------------------
  Reporter:  mojca@…          |      Owner:  mojca@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  py-wxpython-2.8  |
------------------------------+---------------------

Comment (by mojca@…):

 OK, I believe I see the problem now. The file {{{config.py}}} contains:
 {{{
     if sys.platform[:6] == "darwin":
     ...
     else:
         # Set flags for other Unix type platforms
         GENDIR = WXPORT

         if WXPORT == 'gtk':
             WXPLAT = '__WXGTK__'
             portcfg = os.popen('gtk-config --cflags', 'r').read()[:-1]
             BUILD_BASE = BUILD_BASE + '-' + WXPORT
         elif WXPORT == 'gtk2':
             WXPLAT = '__WXGTK__'
             GENDIR = 'gtk' # no code differences so use the same generated
 sources
             portcfg = os.popen('pkg-config gtk+-2.0 --cflags',
 'r').read()[:-1]
 ...
 }}}
 and thus
 {{{
 pkg-config gtk+-2.0 --cflags
 }}}
 never gets executed.

-- 
Ticket URL: <https://trac.macports.org/ticket/40308#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list