Question about include file
Guest wrote on Dec 17, 2007
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
Post generated using Mail2Forum (http://www.mail2forum.com)
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
Post generated using Mail2Forum (http://www.mail2forum.com)
Mike Fitzpatrick wrote on Dec 17, 2007
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?
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:
/* ### Start of run time definitions */
#define HOST "/iraf/iraf/unix/"
#define IRAF "/iraf/iraf/"
#define TMP "/tmp/"
/* ### End of run time definitions */
Could you provide the distribution with this option?
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.
Other question - do you provide the IRAF for x86_64 Redhat version?
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
Last post on Dec 17, 2007