[R-SIG-Mac] Compiling Cairo package

Erich Neuwirth er|ch@neuw|rth @end|ng |rom un|v|e@@c@@t
Sun Dec 26 12:04:51 CET 2021


I am trying to compile Cairo.
I get the following error

xlib-backend.c:34:10: fatal error: 'X11/Intrinsic.h' file not found
#include <X11/Intrinsic.h>      /*->    Xlib.h  Xutil.h Xresource.h .. */

I have X11/Intrinsic.h in /opt/X11/include

I tried

Sys.setenv(LD_LIBRARY_PATH="/opt/X11:/opt/X11/lib")
Sys.getenv("LD_LIBRARY_PATH")
system("export LD_LIBRARY_PATH”)

and compiled again, but I get the same error.

What do I need to do so Intrinsic.h is found by the compiler?

Erich


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 699 bytes
Desc: Message signed with OpenPGP
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20211226/32ced4d9/attachment.sig>


More information about the R-SIG-Mac mailing list