Welcome to iraf.net Monday, May 13 2024 @ 05:58 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Question about include file
   
Anonymous: Guest
 12/17/2007 03:54PM (Read 2029 times)  



Hello
I try to install IRAF (the last version from your distribution), and
because of our configiration (AFS file system) we would like to have the
includes files (iraf.h) installed on /usr/local/include and not on
local /usr/include.
Is a way to do this easily? Could you prvide the distribution with this
option?
Other question - do you provide the IRAF for x86_64 Redhat version?regards,Woj--
Wojciech A. WOJCIK, Centre de Calcul de l'IN2P3
29, Bd du 11 Nov. 1918, F-69622 VILLEURBANNE, Cedex
tel:+33 472 69 41 73 fax:+33 472 69 41 70
E-mail: mailto:wojcik@in2p3.fr URL: http://cc.in2p3.fr

 
 Quote
fitz
 12/17/2007 03:54PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:9ea791027b]I try to install IRAF (the last version from your distribution), and
because of our configiration (AFS file system) we would like to have the includes files (iraf.h) installed on /usr/local/include and not on
local /usr/include. Is a way to do this easily? [/quote:9ea791027b]The /usr/include/iraf.h file is hardwired since there needs to ge a known location to find basic environment information in the case where this isn't supplied by the user's environment (e.g. when iraf networking connects to a remote machine the kernel server always has a fixed place to look for local install information). In cases where users don't have root permission or want to install a private IRAF we recommend they simply define the needed environment and the system will ignore the <iraf.h> file. The 'needed environment' in this case are the $iraf, $host and $tmp variables that are normally defined in <iraf.h> as something like:[code:1:9ea791027b]
/* ### Start of run time definitions */
#define HOST "/iraf/iraf/unix/"
#define IRAF "/iraf/iraf/"
#define TMP "/tmp/"
/* ### End of run time definitions */
[/code:1:9ea791027b]
[quote:9ea791027b] Could you provide the distribution with this option?[/quote:9ea791027b]I'll add it to the list of features for the next release. Certainly adding /usr/local/include as another hardwired fallback is easy, some sort of environment override might also be desireable.[quote:9ea791027b]Other question - do you provide the IRAF for x86_64 Redhat version? [/quote:9ea791027b]A 64-bit IRAF is in the planning stages, for now you'll need to use the pre-built 32-bit binaries (for external packages as well). Compilation is not supported on 64-bit platforms at this time.Cheers,
-Mike

 
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