2017/12/07

installing stsdas package to the latest IRAF (v2.16)

quick answer

Just read
"/iraf/iraf/extern/README"

for macOS HighSierra user:
install ftp before the package installation.
----

上記のマニュアルにexternalなパッケージのインストール方法が書いてある。
iraf なんぞ使おうとする人なら、読めるよね?

以下、用例:
$ cd /iraf/iraf/extern
sudo ./configure
sudo make stsdas

lacos.im, lacos.sp などのcosmic ray 除去ツールを久々に使おうとしてみたら動かなかったので、メモ。


20171214 追記:
maxos HighSierra ではこのスクリプト内部で実行される ftp が存在しないようである。
https://discussions.apple.com/thread/8093031?start=0&tstart=0
なので、 homebrew や macport なんぞでインストールするか、wget にでも置き換えてしまう。

置き換えるスクリプトは
$iraf/util/pkgget
dlcmd="/usr/bin/ftp"
->
dlcmd="/usr/local/bin/ftp" or "/usr/local/bin/wget"

これで問題なく動作できる。

0 件のコメント: