[MacPorts] #38464: py26-wxpython: fatal error: 'gdk/gdkx.h' file not found (was: py26-wxwidget compile fails missing header Mountain Lion)

MacPorts noreply at macports.org
Wed Mar 20 18:21:52 PDT 2013


#38464: py26-wxpython: fatal error: 'gdk/gdkx.h' file not found
----------------------------+-------------------------
  Reporter:  jkent3rd@…     |      Owner:  jameskyle@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.3
Resolution:                 |   Keywords:
      Port:  py26-wxpython  |
----------------------------+-------------------------
Changes (by ryandesign@…):

 * port:   => py26-wxpython
 * owner:  macports-tickets@… => jameskyle@…


Old description:

> :info:build src/helpers.cpp:29:10: fatal error: 'gdk/gdkx.h' file not
> found
> :info:build #include <gdk/gdkx.h>
> :info:build          ^
> :info:build 1 error generated.
> :info:build error: command '/usr/bin/clang' failed with exit status 1
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-wxpython/py26-wxpython/work
> /wxPython-src-2.8.10.1/wxPython" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
> setup.py build UNICODE=1 WXPORT=gtk2
> :info:build Exit code: 1
> :error:build org.macports.build for port py26-wxpython returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 14063 1
> :debug:build Backtrace: command execution failed
>     while executing
> "system -nice 0 $fullcmdstring"
>     ("eval" body line 1)
>     invoked from within
> "eval system $notty $nice \$fullcmdstring"
>     invoked from within
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: targets not executed for py26-wxpython:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :error:build Failed to install py26-wxpython
> :debug:build couldn't open
> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
> no such file or directory
>     while executing
> "open [file join $dir tclIndex]"
> :notice:build Please see the log file for port py26-wxpython for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-wxpython/py26-wxpython/main.log

New description:

 {{{
 :info:build src/helpers.cpp:29:10: fatal error: 'gdk/gdkx.h' file not
 found
 :info:build #include <gdk/gdkx.h>
 :info:build          ^
 :info:build 1 error generated.
 :info:build error: command '/usr/bin/clang' failed with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-wxpython/py26-wxpython/work
 /wxPython-src-2.8.10.1/wxPython" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py build UNICODE=1 WXPORT=gtk2
 :info:build Exit code: 1
 :error:build org.macports.build for port py26-wxpython returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 14063 1
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for py26-wxpython:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :error:build Failed to install py26-wxpython
 :debug:build couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:build Please see the log file for port py26-wxpython for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-wxpython/py26-wxpython/main.log
 }}}

--

Comment:

 Remember to use WikiFormatting.

 Does /opt/local/include/gtk-2.0/gdk/gdkx.h exist? If not, did you install
 the gtk2 port with the +quartz variant? If so, that's probably the
 problem; install gtk2 with the +x11 variant instead; wxpython seems to
 require it.

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


More information about the macports-tickets mailing list