View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net Issue #119

[2.16.1] IRAF installation patches .bashrc and .cshrc

closed closed olebole opened this issue on 2017-11-29


olebole commented on 2017-11-29

I found this older issue (2014) in the forum:

@olebole:

Hi Fitz,

(I am just going to put all the stuff I think that needs to be discussed somehow here. Is this OK?)

The installation script adds .iraf/setup.(c)sh to the .bashrc and .cshrc, they invoke irafuser.sh, in this in turn sets CC to gcc (and some other variables).

This seems a bit weird to me, since it silently overwrites the CC etc. for this user even when he does something completely different. There are other C compilers he may want to use as default (like clang), and compilation could mysteriously fail after he tried to install IRAF.

Could you change that so that common environment variables are not set or overwritten by the IRAF installation?

Best regards

Ole

@iraf:

This will be fixed for the next release.

But this is however not fixed in your current repository? Any chance it will?


Fixed in iraf-community/iraf#54


Last updated on 2017-11-30