[MacPorts] #15111: unable to install gtk2 with no_x11

MacPorts noreply at macports.org
Thu Mar 24 08:55:32 PDT 2016


#15111: unable to install gtk2 with no_x11
------------------------+--------------------
  Reporter:  maidaro@…  |      Owner:  nox@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  1.6.0
Resolution:  fixed      |   Keywords:
      Port:  gtk2       |
------------------------+--------------------
Changes (by ryandesign@…):

 * keywords:  gtk2 =>
 * port:   => gtk2


Old description:

> When I tried to install gtk2 with no_x11 and quartz variants, error
> message, "Error: Target org.macports.fetch returned: pango must be
> installed with the no_x11 variant enabled.", is always displayed and
> install was stopped.
>
> After I modified Portfile of gtk2 like below, I could build and install
> gtk2 successfully.
>
> --- Portfile    2008-04-23 17:16:04.000000000 +0900
> +++ Portfile~   2008-04-22 06:38:35.000000000 +0900
> @@ -116,8 +116,8 @@
>      pre-fetch {
>          if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} {
>              ui_error "Please uninstall or deactivate the pango port and
> reinstall it by running `port install pango +no_x11`."
> -            error "pango must be installed with the no_x11 variant
> enabled."
>          }
> +        error "pango must be installed with the no_x11 variant enabled."
>      }
>  }

New description:

 When I tried to install gtk2 with no_x11 and quartz variants, error
 message, "Error: Target org.macports.fetch returned: pango must be
 installed with the no_x11 variant enabled.", is always displayed and
 install was stopped.

 After I modified Portfile of gtk2 like below, I could build and install
 gtk2 successfully.

 {{{
 --- Portfile    2008-04-23 17:16:04.000000000 +0900
 +++ Portfile~   2008-04-22 06:38:35.000000000 +0900
 @@ -116,8 +116,8 @@
      pre-fetch {
          if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} {
              ui_error "Please uninstall or deactivate the pango port and
 reinstall it by running `port install pango +no_x11`."
 -            error "pango must be installed with the no_x11 variant
 enabled."
          }
 +        error "pango must be installed with the no_x11 variant enabled."
      }
  }
 }}}

--

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


More information about the macports-tickets mailing list