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

Kenneth Wolcott kennethwolcott at gmail.com
Sun Dec 22 20:13:39 UTC 2024


How to proceed?

port installed | grep ' R '
  R @4.4.1_2+aqua+builtin_lapack+cairo+gcc14+openmp+tcltk+x11
  R @4.4.1_3+aqua+builtin_lapack+cairo+gcc14+openmp+tcltk+x11
  R @4.4.1_4+aqua+builtin_lapack+cairo+gcc14+openmp+tcltk+x11
  R @4.4.2_0+aqua+builtin_lapack+cairo+gcc14+openmp+tcltk+x11 (active)

port installed | grep ' tk '
  tk @8.6.14_0+x11
  tk @8.6.15_0+quartz (active)

Does this mean that I need to have a tk based on x11 to be active?

sudo port deactivate tk
Note: It is not recommended to uninstall/deactivate a port that has
dependents as it breaks the dependents.
The following ports will break:
 tkdiff @4.2_0
 tklib @0.7_0
 R @4.4.2_0
 py312-tkinter @3.12.8_0
 py313-tkinter @3.13.1_0
 maxima @5.47.0_9
Continue? [y/N]: n
--->  Cleaning tk

Thanks,
Ken Wolcott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241222/4a279666/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: port_R_failed.log
Type: application/octet-stream
Size: 11291 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241222/4a279666/attachment.obj>


More information about the macports-users mailing list