sudo port -v -s install tk +x11 Error: Requested variants "+x11" do not match those the build was started with: "+quartz". Error: Please use the same variants again, or run 'port clean tk' first to remove the existing partially completed build. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port tk failed ~: sudo port -v uninstall tk tk is not installed ~: sudo port -v clean tk ---> Cleaning tk ---> Removing work directory for tk ~: sudo port -v -s install tk +x11 ---> Computing dependencies for tk.. The following dependencies will be installed: tk-quartz Continue? [Y/n]: n
I really do not want any quartz varients to be installed. This is confusing: port installed | grep quartz cairo @1.17.6_2+quartz+x11 (active) pango @1.55.0_0+quartz+x11 (active) Is this why I cannot install tk and tkdiff with the x11 varient rather than the quartz varient? Very confused here... Thanks, Ken On Wed, Sep 17, 2025 at 12:16 PM Ryan Carsten Schmidt < [email protected]> wrote: > On Sep 17, 2025, at 11:19, Kenneth Wolcott wrote: > > > > trying to install the x11 version of tkdiff; I always get the xquartz > version; why? > > > > How to install the x11 version of tkdiff? > > > sudo port -v -s install tkdiff +x11 > > tkdiff doesn't have any variants but it might just use whatever variant of > tk you have installed. Try: > > sudo port install tk +x11 > > This will affect all ports that depend on the tk port (rather than the > newer separate tk-quartz and tk-x11 ports). >
