Opened 16 years ago

Last modified 8 years ago

#15111 closed defect

unable to install gtk2 with no_x11 — at Initial Version

Reported by: maidaro@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: gtk2

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."

}

}

Change History (1)

Changed 16 years ago by maidaro@…

Attachment: patch_gtk2_no_x11.patch added

patch gtk2's portfile for no_x11

Note: See TracTickets for help on using tickets.