[MacPorts] #38464: py26-wxwidget compile fails missing header Mountain Lion
#38464: py26-wxwidget compile fails missing header Mountain Lion ------------------------+-------------------------------- Reporter: jkent3rd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ------------------------+-------------------------------- :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 -- Ticket URL: <https://trac.macports.org/ticket/38464> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | ----------------------------+------------------------- Comment (by jkent3rd@…): Replying to [comment:1 ryandesign@…]:
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.
In response to your query: - /opt/local/include/gtk-2.0/gdk/gdkx.h exists. - This is a fresh/new install of MacPorts. I reached this point only by executing "sudo port install spe" - "port installed gtk2" responds with: {{{ Soleil:gdk john$ port installed gtk2 The following ports are currently installed: gtk2 @2.24.16_0+x11 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/38464#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ----------------------------+------------------------- Comment (by jmr@…): Please attach the main.log. -- Ticket URL: <https://trac.macports.org/ticket/38464#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38464: py26-wxpython: fatal error: 'gdk/gdkx.h' file not found ----------------------------+------------------------- Reporter: jkent3rd@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py26-wxpython | ----------------------------+------------------------- Changes (by mojca@…): * status: new => closed * version: 2.1.3 => * resolution: => fixed Comment: This should be fixed in {{{py2X-wxpython-2.8}}} which adds an explicit dependency on {{{gtk2 +x11}}} in r110398 (and missing dependency on {{{pkgconfig}}} in r110414). -- Ticket URL: <https://trac.macports.org/ticket/38464#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts