Welcome to iraf.net Sunday, May 12 2024 @ 11:02 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Finishing installation on Mac OSX
   
qroper224
 06/11/2009 04:20PM (Read 4061 times)  
+----
Newbie

Status: offline


Registered: 06/11/2009
Posts: 2
Hello,I'm installing IRAF on MacOS-X and followed the cookbook supplied in
pciraf.ps all the way through the ./install phase and IRAF was
"installed successfully". However, I'm not sure what to do next. The
pciraf.ps document says that when logged in as iraf that I should be
able to run iraf simply by typing cl since iraf should be able to run
given the login files included with the system. However, an error of
-bash: cl: command not found
which appears that I'm missing some aliasing perhaps. Furthermore, when
logged in as another user the mkiraf command does not initiate the
initialization of their iraf profile but instead returns a similar error
-bash: cl: command not found
which again looks like there's something amiss in my .bash_profile
file. Could you please advise on how to finish this install?Thanks,
Quentin

 
Profile Email
 Quote
fitz
 06/11/2009 04:20PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
'Command not found' usually indicates a path problem. By default, the iraf commands are created as links in the /usr/local/bin directory, this directory must be in the PATH variable you specify in your .bash_profile. Less often, the path is correct but the links are bad because the 'iraf root directory' was specified incorrectly (or is overridden in your environment). The install script should have caught this last case, so check your path first.-Mike

 
Profile Email
 Quote
qroper224
 06/11/2009 04:20PM  
+----
Newbie

Status: offline


Registered: 06/11/2009
Posts: 2
I figured the problem was something to that effect, but I'm not sure where the command mkiraf is to alias to in my bash profile. Where is the mkiraf command installed?I did end up finding the cl.e file in the usr/local/iraf/irafbin/bin.macintel folder-- should I copy this to usr/local/bin for simplicity? When I run it, it gives me a half-dozen error messages of the tune "cannot open "/usr/include/iraf.h". What does this mean?Thanks again.

 
Profile Email
 Quote
fitz
 06/11/2009 04:20PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Sounds like the install script wasn't actually run, did you by chance run it as "install -n" (where -n is the no-op flag) or without a 'sudo' ?? The key is the missing /usr/include/iraf.h. Otherwise, all commands like 'mkiraf' and 'cl' are put in the same directory (normally, /usr/local/bin but you can specify someplace else). The 'cl' command has to do some environment setup, copying the cl.e binary directly is not recommended.Try re-running the install script as[code:1:965d01013d]% cd $iraf/unix/hlib
% sudo ./install[/code:1:965d01013d] -Mike

 
Profile Email
 Quote
   
Content generated in: 0.16 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