[MacPorts] #43702: gtk-osx-application @2.0.5 configure failure, install error with -python27 on 10.9

MacPorts noreply at macports.org
Tue May 13 16:07:22 PDT 2014


#43702: gtk-osx-application @2.0.5 configure failure, install error with -python27
on 10.9
----------------------------------+----------------------
  Reporter:  jamartin@…           |      Owner:  elelay@…
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.2.1
Resolution:                       |   Keywords:
      Port:  gtk-osx-application  |
----------------------------------+----------------------
Changes (by ryandesign@…):

 * keywords:  mavericks python27 py27-pygtk gtk-osx-application =>
 * owner:  macports-tickets@… => elelay@…


Old description:

> Hi, I'm trying to install gtk-osx-application @2.0.5 with -python27 on
> 10.9, but I'm getting the following error:
>
> {{{
> $ sudo port install gtk-osx-application -python27
> --->  Computing dependencies for gtk-osx-application
> --->  Configuring gtk-osx-application
> Error: Failed to configure gtk-osx-application, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
> application/work/gtk-mac-integration-2.0.5/config.log
> Error: org.macports.configure for port gtk-osx-application returned:
> configure failure: command execution failed
> Please see the log file for port gtk-osx-application for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
> application/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gtk-osx-application failed
> }}}
>
> It looks like it's not finding PyGTK, but as far as I know it's
> installed. I have the following ports installed and active on my system:
>
> py27-pygtk @2.24.0_3+quartz (active)
> py27-cairo @1.10.0_3 (active)
> py27-gobject @2.28.6_3 (active)
> python27 @2.7.6_0 (active)
>
> I have attached the logs mentioned in the error message, but to my eye
> the most relevant bit is this:
>

> {{{
> :info:configure configure: Switch on Gtk+ Version
> :info:configure checking PyGObject 2.16 or newer... checking for
> PYGOBJECT... no
> :info:configure PyGObject 2.16.0 or newer
> :info:configure checking PyGtk 2.14 or newer... checking for PYGTK... no
> :info:configure PyGTK 2.14.0 or newer
> :info:configure checking PyGObject-Codegen 2.0... checking for pygobject-
> codegen-2.0... no
> :info:configure pygobject-codegen-2.0 script not found
> :info:configure checking PyGtk DefsDir... Package pygtk-2.0 was not found
> in the pkg-config search path.
> :info:configure Perhaps you should add the directory containing
> `pygtk-2.0.pc'
> :info:configure to the PKG_CONFIG_PATH environment variable
> :info:configure No package 'pygtk-2.0' found
> :info:configure
> :info:configure checking whether to build Python bindings... configure:
> error: Couldn't find the required Python tools.
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
> application/work/gtk-mac-integration-2.0.5" && ./configure
> --libdir=/opt/local/lib --includedir=/opt/local/include
> --prefix=/opt/local --with-gtk=gtk+-2.0 --enable-python=yes
> :info:configure Exit code: 1
>
> }}}
>
> Any help or suggestions would be very appreciated.
>
> Thanks!

New description:

 Hi, I'm trying to install gtk-osx-application @2.0.5 with -python27 on
 10.9, but I'm getting the following error:

 {{{
 $ sudo port install gtk-osx-application -python27
 --->  Computing dependencies for gtk-osx-application
 --->  Configuring gtk-osx-application
 Error: Failed to configure gtk-osx-application, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
 application/work/gtk-mac-integration-2.0.5/config.log
 Error: org.macports.configure for port gtk-osx-application returned:
 configure failure: command execution failed
 Please see the log file for port gtk-osx-application for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
 application/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gtk-osx-application failed
 }}}

 It looks like it's not finding PyGTK, but as far as I know it's installed.
 I have the following ports installed and active on my system:

 {{{
 py27-pygtk @2.24.0_3+quartz (active)
 py27-cairo @1.10.0_3 (active)
 py27-gobject @2.28.6_3 (active)
 python27 @2.7.6_0 (active)
 }}}

 I have attached the logs mentioned in the error message, but to my eye the
 most relevant bit is this:


 {{{
 :info:configure configure: Switch on Gtk+ Version
 :info:configure checking PyGObject 2.16 or newer... checking for
 PYGOBJECT... no
 :info:configure PyGObject 2.16.0 or newer
 :info:configure checking PyGtk 2.14 or newer... checking for PYGTK... no
 :info:configure PyGTK 2.14.0 or newer
 :info:configure checking PyGObject-Codegen 2.0... checking for pygobject-
 codegen-2.0... no
 :info:configure pygobject-codegen-2.0 script not found
 :info:configure checking PyGtk DefsDir... Package pygtk-2.0 was not found
 in the pkg-config search path.
 :info:configure Perhaps you should add the directory containing
 `pygtk-2.0.pc'
 :info:configure to the PKG_CONFIG_PATH environment variable
 :info:configure No package 'pygtk-2.0' found
 :info:configure
 :info:configure checking whether to build Python bindings... configure:
 error: Couldn't find the required Python tools.
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_devel_gtk-osx-application/gtk-osx-
 application/work/gtk-mac-integration-2.0.5" && ./configure
 --libdir=/opt/local/lib --includedir=/opt/local/include
 --prefix=/opt/local --with-gtk=gtk+-2.0 --enable-python=yes
 :info:configure Exit code: 1

 }}}

 Any help or suggestions would be very appreciated.

 Thanks!

--

Comment:

 "-python27" means "without python27". gtk-osx-application apparently
 requires python, so don't do that. To request gtk-osx-application with
 python27, use "+python27". That also happens to be the default for this
 port, according to "port variants gtk-osx-application", so if you don't
 specify anything about python, that's what you'll get.

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


More information about the macports-tickets mailing list