External Package Install Issues with MSCRED and TABLES
Catrina Hamilton-Drager wrote on Jan 16, 2012
Has anyone else run into this problem? Install the external package MSCRED, but then when I tried to get into MSCFINDER, it informs me that TABLES is not installed. OK. So I install TABLES and MSCRED disappears! ??? Ideas?
Mike Fitzpatrick wrote on Jan 16, 2012
What commands did you use to install? Specifically, did you at any point do a "make clean", "make init" or "configure" before installing TABLES? Is the MSCRED source/binaries still in the directory or was it only the declaration that is missing? Does doing a "make mscred" restore the package?
Packages are declared dynamically when you start the CL, however when you install a package it is defined in a ".zzsetenv.def" file in the iraf$extern directory to declare the environment variable. Doing something like "make init" wipes all this out. It shouldn't matter whether you also manually declare packages in the hlib$extern.pkg file since it is also read at startup.
Packages are declared dynamically when you start the CL, however when you install a package it is defined in a ".zzsetenv.def" file in the iraf$extern directory to declare the environment variable. Doing something like "make init" wipes all this out. It shouldn't matter whether you also manually declare packages in the hlib$extern.pkg file since it is also read at startup.
Catrina Hamilton-Drager wrote on Jan 16, 2012
Of course, when I try it again, it works. :\ To answer your questions, I had not done a "make clean" or "make init". When I was getting this error, I would install TABLES and MSCRED would disappear. Then I would go back and re-make MSCRED, and TABLES would disappear, but MSCRED would be back. ? Either way, I decided to just do the whole install again, and here's what I did:
Last login: Sun Jan 15 22:59:28 on console
[knuckles:~] iraf% cd /iraf/iraf/extern
[knuckles:/iraf/iraf/extern] iraf% ls
Makefile esowfi mscdb rvsao ucsclris
README fitsutil mscred song upsqiid
adccdrom gmisc mtools sqiid xccdred
cfh12k guiapps nfdat_ctio stecf xdimsum
configure iue nfextern steward xdwred
ctio mem0 nlocal stsdas
deitab mfilters optic tables
[knuckles:/iraf/iraf/extern] iraf% ./configure
Initializing repository data ....
Creating system makefile ....
Setup Complete.
To install packages, use 'ls' to list the currently available
packages from the IRAF repository. For each package you wish
to install, use the command:
make <pkg>
The package will be loaded dynamically the next time you start
the CL session.
Use the commmands:
make update # to update pkgs to the latest repository version
make check # to list available updates
make clean # to delete installed all packages
make init # restore to pre-configure state
make <pkg> # to force a re-install of named <pkg>
[knuckles:/iraf/iraf/extern] iraf% make mscred
Setting architecture: 'macosx' ....
Adding dependency 'fitsutil' ....
Installing package 'fitsutil' .... [OK]
Installing package 'mscred' .... [OK]
[knuckles:/iraf/iraf/extern] iraf% make tables
Setting architecture: 'macosx' ....
Installing package 'tables' .... [OK]
[knuckles:/iraf/iraf/extern] iraf%
Of course, you see it worked. I even logged in as myself and was able to load both MSCRED and MSCFINDER no problem. Grrrr... Sorry to bother you!!!
Thanks for your time.
Last login: Sun Jan 15 22:59:28 on console
[knuckles:~] iraf% cd /iraf/iraf/extern
[knuckles:/iraf/iraf/extern] iraf% ls
Makefile esowfi mscdb rvsao ucsclris
README fitsutil mscred song upsqiid
adccdrom gmisc mtools sqiid xccdred
cfh12k guiapps nfdat_ctio stecf xdimsum
configure iue nfextern steward xdwred
ctio mem0 nlocal stsdas
deitab mfilters optic tables
[knuckles:/iraf/iraf/extern] iraf% ./configure
Initializing repository data ....
Creating system makefile ....
Setup Complete.
To install packages, use 'ls' to list the currently available
packages from the IRAF repository. For each package you wish
to install, use the command:
make <pkg>
The package will be loaded dynamically the next time you start
the CL session.
Use the commmands:
make update # to update pkgs to the latest repository version
make check # to list available updates
make clean # to delete installed all packages
make init # restore to pre-configure state
make <pkg> # to force a re-install of named <pkg>
[knuckles:/iraf/iraf/extern] iraf% make mscred
Setting architecture: 'macosx' ....
Adding dependency 'fitsutil' ....
Installing package 'fitsutil' .... [OK]
Installing package 'mscred' .... [OK]
[knuckles:/iraf/iraf/extern] iraf% make tables
Setting architecture: 'macosx' ....
Installing package 'tables' .... [OK]
[knuckles:/iraf/iraf/extern] iraf%
Of course, you see it worked. I even logged in as myself and was able to load both MSCRED and MSCFINDER no problem. Grrrr... Sorry to bother you!!!
Thanks for your time.
Last post on Jan 16, 2012