Welcome to iraf.net Sunday, April 28 2024 @ 07:07 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 IRAF patching .bashrc and .cshrc
   
olebole
 05/18/2014 04:24PM (Read 719 times)  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 103
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

 
Profile Email Website
 Quote
fitz
 05/19/2014 01:17PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

This will be fixed for the next release.

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login