Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current R 4.3.0 Install on Mac #40

Closed
iwelch opened this issue Apr 24, 2023 · 1 comment
Closed

Current R 4.3.0 Install on Mac #40

iwelch opened this issue Apr 24, 2023 · 1 comment

Comments

@iwelch
Copy link

iwelch commented Apr 24, 2023

just had to reinstall, because I had to upgrade R to 4.3.0. this time,

xlib-backend.c:34:10: fatal error: 'X11/Intrinsic.h' file not found
#include <X11/Intrinsic.h>      /*->    Xlib.h  Xutil.h Xresource.h .. */
         ^~~~~~~~~~~~~~~~~
1 error generated.
make: *** [xlib-backend.o] Error 1
ERROR: compilation failed for package ‘Cairo’

my own XQuartz probably came courtesy via brew install --cask xquartz many years ago, because brew tells me XQuartz is already installed. XQuartz is installed at /Applications/Utilities/ and updated to XQuartz 2.8.5 (xorg-server 21.1.6). A little search on my file system tells me

./System/Volumes/Data/opt/X11/include/X11/IntrinsicP.h
./System/Volumes/Data/opt/X11/include/X11/Intrinsic.h
./System/Volumes/Data/opt/X11/include/X11/IntrinsicI.h

One of the include libraries indeed has an X11, but this one only contains

ls /opt/homebrew/include/X11 
DECkeysym.h@  XF86keysym.h@ Xatom.h@      Xfuncproto.h@ Xlibint.h@    Xosdefs.h@    Xresource.h@  Xwinsock.h@   fonts@
HPkeysym.h@   XKBlib.h@     Xauth.h@      Xfuncs.h@     Xlocale.h@    Xpoll.h@      Xthreads.h@   ap_keysym.h@  keysym.h@
ImUtil.h@     XWDFile.h@    Xcms.h@       Xlib-xcb.h@   Xmd.h@        Xproto.h@     Xutil.h@      cursorfont.h@ keysymdef.h@
Sunkeysym.h@  Xalloca.h@    Xdefs.h@      Xlib.h@       Xos.h@        Xprotostr.h@  Xw32defs.h@   dri@
X.h@          Xarch.h@      Xdmcp.h@      XlibConf.h@   Xos_r.h@      Xregion.h@    Xwindows.h@   extensions/

with the XQuartz includes not found, could you either update the library search list or tell the user in an error what [s]he should do?

PS: my own nasty fix was sudo ln -s /System/Volumes/Data/opt/X11/include/X11 /opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo/ during installation and then removing it.

regards,

/iaw

@iwelch iwelch changed the title Current Install Current R 4.3.0 Install Apr 24, 2023
@iwelch iwelch changed the title Current R 4.3.0 Install Current R 4.3.0 Install on Mac Apr 24, 2023
@s-u
Copy link
Owner

s-u commented Apr 25, 2023

Please use latest version, I believe this is a duplicate of closed #39

@s-u s-u closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants