View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Error trying to install external package mscred

Catrina Hamilton-Drager wrote on Jan 12, 2012

Hi,

I tried to install the external package mscred and got the following message:

[knuckles:/iraf/iraf/extern] hamiltoc% make mscred
Setting architecture: 'macosx' ....
Adding dependency 'fitsutil' ....
Installing package 'fitsutil' .... [Error]

Anyone have a clue about the [Error] ?

Thanks!!

Mike Fitzpatrick wrote on Jan 12, 2012

I just tried this and verified there was a macosx version of the package files, it all seems correct.

An error message could mean a problem in downloading the file, or that you didn't have write permission in the package directory. Specifically, it means the $iraf/util/pkgget script failed for some reason.
I forget the details but remember there was a problem with specifying the download command in the script as "ftp -A" on some OSX systems. If you're still having problems, edit the script so that on about line 81 where you see

set dlcmd              = "/usr/bin/ftp -A"


you should remove the "-A" flag from the command. Hope this helps.

Catrina Hamilton-Drager wrote on Jan 12, 2012

Thanks! It was because I hadn't logged in as iraf. Even though I did the sudo thing, I needed to be iraf. Thanks!

Last post on Jan 12, 2012