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

MacPorts trac at macosforge.org
Wed Apr 23 01:34:28 PDT 2008


#15111: unable to install gtk2 with no_x11
-------------------------------+--------------------------------------------
 Reporter:  maidaro at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.6.0                                
 Keywords:  gtk2               |  
-------------------------------+--------------------------------------------
 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: <http://trac.macosforge.org/projects/macports/ticket/15111>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list