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

Error with tcl header file #31

Closed JiahuiZhuo closed 3 years ago

JiahuiZhuo commented 3 years ago

The code expect tcl.h to be in /usr/include/tcl/ but Arch places tcl.h in /usr/include/

Maybe I should try making a symbolic link to tcl.h, not sure if that would work.

shot1

shot2

JiahuiZhuo commented 3 years ago

Changing "tcl/tcl.h" to "tcl.h" at following files make the code work correctly: ./obm/ObmP.h ./ximtool/ximclient.c ./ximtool/ism.c ./ximtool/ism_wcspix.c

JiahuiZhuo commented 3 years ago

I did a Arch packages to install x11iraf from github but on Arch way, I mean following Arch package guidelines. Link But I think that modified the source code and add the Arch Support wouldn't be something difficult. I don't know, maybe something like detect firstly if exist tcl/tcl.h and tcl.h, if exist only tcl.h then change the path of tcl.h correctly. x11irafpass

olebole commented 3 years ago

Closed by #32.