help me installing stsdas
M Ichwan Yuliawan wrote on Aug 16, 2009
hi everyone, i'm newbie for linux..
but, like or not i have to used linux for my course.
i'm using suse ver 10.2 and iraf ver 2.12, and unpacked the stsdas&tables ver 3.10 in home/iraf/iraf/local/tables and home/iraf/iraf/local/stsdas
i have a problem with pre installing stsdas&tables..
i followed the installation guide until the part typing mkpkg, i received this message:
and then, when i want to enter iraf, i type cl and get this message:
what should i do then to install stsdas&tables and to fix iraf??
please help me..
but, like or not i have to used linux for my course.
i'm using suse ver 10.2 and iraf ver 2.12, and unpacked the stsdas&tables ver 3.10 in home/iraf/iraf/local/tables and home/iraf/iraf/local/stsdas
i have a problem with pre installing stsdas&tables..
i followed the installation guide until the part typing mkpkg, i received this message:
mkpkg suse
Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found
hlib: Undefined variable.and then, when i want to enter iraf, i type cl and get this message:
ERROR: task `noao' not found
cl ()
cl ()
utilities ()
cl ()
cl ()
cl ()
tv ()
proto ()
cl ()
cl ()
dataio ()
cl ()
plot ()
cl ()
cl ()
imutil ()
cl ()
immatch ()
cl ()
imgeom ()
cl ()
imfit ()
cl ()
imfilter ()
cl ()
imcoords ()
images ()
cl ()
cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.
what should i do then to install stsdas&tables and to fix iraf??
please help me..
Mike Fitzpatrick wrote on Aug 16, 2009
Firstly, if you're using SuSE then the IRAF architecture you need to remember is 'linux'.
When resetting the package architecture or compiling, you also need to remember to use the '-p <pkgname>' flag to load the package environment. In this case, resetting the package architecture is done with:
That said, compiling anything in IRAF requires that you define certain environment variables, e.g.
These are for C-shell users and should be put in your .cshrc file, let me know if you need the equivalent Bash shell commands. For major packages like STSDAS/TABLES, it may be simplest to just download and unpack the pre-built binaries.
As for the error when starting the CL: This looks like a problem in the hlib$extern.pkg file which you must edit to define the package, e.g. you forgot a closing quote char or didn't escape a newline in the 'helpdb' definition. Post this file if you aren't sure what went wrong, in any case please review the STSDAS/TABLES installation docs and be sure you've followed all the steps.
-Mike
When resetting the package architecture or compiling, you also need to remember to use the '-p <pkgname>' flag to load the package environment. In this case, resetting the package architecture is done with:
mkpkg -p stsdas suseThat said, compiling anything in IRAF requires that you define certain environment variables, e.g.
setenv iraf /iraf/iraf/ <-- trailing '/' required
setenv IRAFARCH linux <-- for v2.14, earlier systems use 'suse'
source $iraf/unix/hlib/irafuser.csh <-- picks up other variables
These are for C-shell users and should be put in your .cshrc file, let me know if you need the equivalent Bash shell commands. For major packages like STSDAS/TABLES, it may be simplest to just download and unpack the pre-built binaries.
As for the error when starting the CL: This looks like a problem in the hlib$extern.pkg file which you must edit to define the package, e.g. you forgot a closing quote char or didn't escape a newline in the 'helpdb' definition. Post this file if you aren't sure what went wrong, in any case please review the STSDAS/TABLES installation docs and be sure you've followed all the steps.
-Mike
M Ichwan Yuliawan wrote on Aug 16, 2009
thank you for your help..
but i still can not install it.. i've already type this code:
but, it still don't wanna work. after i type
i get this message:
and for starting CL, i already type exactly what's in the installation guide, like this:
is my hlib$extern.pkg file still not right?
coz it still not working..
but i still can not install it.. i've already type this code:
setenv iraf /iraf/iraf/
setenv IRAFARCH linux
source $iraf/unix/hlib/irafuser.csh but, it still don't wanna work. after i type
mkpkg -p stsdas susei get this message:
envinit: cannot open `/iraf/extern/stsdas/lib/zzsetenv.def'
Warning, mkpkg line 0: cannot open `stsdas$lib/mkpkg.inc'
Warning, mkpkg line 1: cannot open `mkpkg'and for starting CL, i already type exactly what's in the installation guide, like this:
# External (non core-system) packages. To install a new package, add the
# two statements to define the package root directory and package task,
# then add the package helpdb to the `helpdb' list.
reset noao = iraf$noao/
task noao.pkg = noao$noao.cl
reset tables = /iraf/extern/tables/
task tables.pkg = tables$tables.cl
reset stsdas = /iraf/extern/stsdas/
task stsdas.pkg = stsdas$stsdas.cl
task apropos = stsdas$apropos.cl
reset helpdb = "lib$helpdb.mip\
,noao$lib/helpdb.mip\
# ,tables$lib/helpdb.mip\
"stsdas$lib/helpdb.mip\
keep
is my hlib$extern.pkg file still not right?
coz it still not working..
Mike Fitzpatrick wrote on Aug 16, 2009
Your initial message says you unpacked tables/stsdas in the home/iraf/iraf/local directory, but you are declaring them as being in /iraf/extern
The paths need to match where the files actually live.
The paths need to match where the files actually live.
M Ichwan Yuliawan wrote on Aug 16, 2009
owh..okey, now i see the problem is..
thank you :D
another problem to be solve is, when i type
:?: :?: :?:
can you help me again?? :wink:
(i'm sorry to bother you for all of this newbie question...)
thank you :D
another problem to be solve is, when i type
mkpkg -p stsdas suse
, i get this: Warning, mkpkg line 1: cannot open `mkpkg':?: :?: :?:
can you help me again?? :wink:
(i'm sorry to bother you for all of this newbie question...)
Mike Fitzpatrick wrote on Aug 16, 2009
Are you actually *in* the stsdas source directory when you issue the command? The 'mkpkg' command reads a 'mkpkg' file in the current directory so you should be in /home/iraf/iraf/local/stsdas when you type he command.
M Ichwan Yuliawan wrote on Aug 16, 2009
no actually.. i didn't know it has to be in the source directory.. :)
okey, the system is already configure in suse.. but my cl is still error.. how to fix my cl? the message that i get is the same as at the up front..
(i already have define the package in the source directory just like you said earlier).
okey, the system is already configure in suse.. but my cl is still error.. how to fix my cl? the message that i get is the same as at the up front..
(i already have define the package in the source directory just like you said earlier).
Mike Fitzpatrick wrote on Aug 16, 2009
reset helpdb = "lib$helpdb.mip\
,noao$lib/helpdb.mip\
# ,tables$lib/helpdb.mip\
"stsdas$lib/helpdb.mip\
keep
This is supposed to be a quoted string, where the '\' at the end escapes the newline. Your definition for stsdas follows the closing quote and is a syntax error, try instead
reset helpdb = "lib$helpdb.mip\
,noao$lib/helpdb.mip\
,tables$lib/helpdb.mip\
,stsdas$lib/helpdb.mip\
"
keep
M Ichwan Yuliawan wrote on Aug 16, 2009
i think i have finished the installation process, coz until the end of installation i haven't met a problem..
i will try to studying to use this package.. thank you for your guidance until now..
if i have a problem when analyze using this package, would you mind to help me again?? :D
thank you very much..
i will try to studying to use this package.. thank you for your guidance until now..
if i have a problem when analyze using this package, would you mind to help me again?? :D
thank you very much..
Last post on Aug 16, 2009