iraf-community / x11iraf

X11/GUI utilities and applications for IRAF (xgterm, ximtool, xtapemon)
https://iraf-community.github.io/x11iraf
21 stars 8 forks source link

'X11/Intrinsic.h' file not found #54

Closed pmassey closed 12 months ago

pmassey commented 12 months ago

I'm installing X11IRAF on an intel iMac recently upgraded to Ventura. However, when I go to do the "make" for X11IRAF, I get the following error:

bash-3.2$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C obm
cc -I/usr/include/tcl -I/usr/X11/include   -c -o Obm.o Obm.c
In file included from Obm.c:5:
./ObmP.h:16:10: fatal error: 'X11/Intrinsic.h' file not found
#include <X11/Intrinsic.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [Obm.o] Error 1
make: *** [obm/libobm.a] Error 2
olebole commented 12 months ago

I think you need a recent XQuartz; at least this was the problem here.

pmassey commented 12 months ago

Ah. Thank you! Yes, that fixed it!

The make does now end with another error: cd clients && mkpkg || true /bin/sh: ./mkpkg: Permission denied. I was running this as sudo with SIP turned off. However, it doesn’t seem to have made any difference; xgterm is installed and works fine.

Thanks!

On Sep 18, 2023, at 12:19, Ole Streicher @.***> wrote:

I think you need a recent XQuartz; at least this was the problem here https://github.com/orgs/iraf-community/discussions/258.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/54#issuecomment-1724230469, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHBFZSNUVVRL3A6TK3ISTTX3CND3ANCNFSM6AAAAAA45FQH2A. You are receiving this because you authored the thread.

olebole commented 12 months ago

This is only needed if you want to use the ximtool program and have it WCS coordinates displayed. In this case, you would also need an installed IRAF, and mkpkg in the PATH. Just for xgterm this is not needed, as you said.