Unable to upgrade R: Error: Failed to configure R: tk must be installed with +x11.

Ryan Carsten Schmidt ryandesign at macports.org
Mon Dec 23 02:29:36 UTC 2024


On Dec 22, 2024, at 17:58, Franco Vaccari wrote:
> 
> I’m quite sure I didn’t request a specific version of either R or tk. Then to build R I’m also quite sure I just made
> 
> sudo port install tk +x11
> 
> and after that
> 
> sudo port install R
> 
> and the build was successful.

The above is the correct solution. 

What Ken said about making a unified decision about +x11 or +quartz across all ports, and that MacPorts defaults to +x11, is generally true, but the tk port is an exception in that its variant choice can be changed without affecting other ports and in that its default was recently changed from +x11 to +quartz. 


More information about the macports-users mailing list