suse 9.3 and tables/stsdas
Guest wrote on Feb 24, 2006
Hello,
I am trying to install some external packages in IRAF in my laptop that has suse 9.3. I will write in detail the steps I am taking hoping that someone can help me out with the problems I am facing.
First I make a directory 'tables' under /iraf/iraf/extern and then I edit the file /iraf/iraf/unix/hlib/extern.pkg
to include:
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
reset helpdb= "lib$helpdb.mip\
,noao$lib/helpdb.mip\
,tables$lib/helpdb.mip\
,stsdas$lib/helpdb.mip\
"
keep
Then I move the file tables34.tar.gz to /iraf/extern/tables and do:
gunzip tables34.tar.gz
tar -xvf tables34.tar
and all files are extracted.
Then I change from root to IRAF user (I am still in the directory /iraf/extern/tables)
su iraf
setenv IRAFARCH suse
source $iraf/unix/hlib/irafuser.csh
After that I log on as root (in the same directory):
ln -s bin.suse bin
After that when I try (in /iraf/extern/tables):
mkpkg suse
I get the message:
bash: mkpkg: command not found
Does anyone know what the problem might be? Unfortunately there are no binaries for SUSE so I need to compile TABLES (and STSDAS) from scratch.
Thank you,
Dana Schwarz
I am trying to install some external packages in IRAF in my laptop that has suse 9.3. I will write in detail the steps I am taking hoping that someone can help me out with the problems I am facing.
First I make a directory 'tables' under /iraf/iraf/extern and then I edit the file /iraf/iraf/unix/hlib/extern.pkg
to include:
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
reset helpdb= "lib$helpdb.mip\
,noao$lib/helpdb.mip\
,tables$lib/helpdb.mip\
,stsdas$lib/helpdb.mip\
"
keep
Then I move the file tables34.tar.gz to /iraf/extern/tables and do:
gunzip tables34.tar.gz
tar -xvf tables34.tar
and all files are extracted.
Then I change from root to IRAF user (I am still in the directory /iraf/extern/tables)
su iraf
setenv IRAFARCH suse
source $iraf/unix/hlib/irafuser.csh
After that I log on as root (in the same directory):
ln -s bin.suse bin
After that when I try (in /iraf/extern/tables):
mkpkg suse
I get the message:
bash: mkpkg: command not found
Does anyone know what the problem might be? Unfortunately there are no binaries for SUSE so I need to compile TABLES (and STSDAS) from scratch.
Thank you,
Dana Schwarz
Mike Fitzpatrick wrote on Feb 24, 2006
reset tables /iraf/extern/tables
Note that a trailing '/' is required on these paths, the same for stsdas.
Then I change from root to IRAF user (I am still in the directory /iraf/extern/tables)
su iraf
setenv IRAFARCH suse
source $iraf/unix/hlib/irafuser.csh
The preferred method is "su - iraf" so you effectively login as 'iraf'. This will also pick up the $iraf defined in the iraf account .login file (assuming this was setup to use C-shell).
After that I log on as root (in the same directory):
ln -s bin.suse bin
After that when I try (in /iraf/extern/tables):
mkpkg suse
I get the message:
bash: mkpkg: command not found
The files should normally be owned by the iraf user, but it doesn't really matter. What does matter is that you have the proper $iraf/$IRAFARCH et all defined in the environment before you try compiling. If you log back in as root then you'll need to redefine these for the root user. Resetting the package architecture is normally done with
mkpkg -p tables suse
The 'command not found' probably just means that /usr/local/bin (or wherever you installed the iraf commands) isn't in the path. Don't forget the '-p tables' (and for STSDAS both '-p tables -p stsdas' flags so the package environment is loaded. Existing redhat binaries for both packages are also likely to work so long as you install then in a 'bin.suse' directory. Hope this helps.
Cheers,
-Mike
Chris Hunter wrote on Feb 24, 2006
Just to add my experiences:
Installed the stsdas and tables packages along with mscred under SuSE 9.3. I managed to run mkpkg for the tables package. There were some problems with the ttools package, particulary ttstjoin and ttstmatch would not run.
Installed the stsdas and tables packages along with mscred under SuSE 9.3. I managed to run mkpkg for the tables package. There were some problems with the ttools package, particulary ttstjoin and ttstmatch would not run.
Guest
Hello,
I am trying to install some external packages in IRAF in my laptop that has suse 9.3. I will write in detail the steps I am taking hoping that someone can help me out with the problems I am facing.
First I make a directory 'tables' under /iraf/iraf/extern and then I edit the file /iraf/iraf/unix/hlib/extern.pkg
to include:
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
reset helpdb= "lib$helpdb.mip\
,noao$lib/helpdb.mip\
,tables$lib/helpdb.mip\
,stsdas$lib/helpdb.mip\
"
keep
Then I move the file tables34.tar.gz to /iraf/extern/tables and do:
gunzip tables34.tar.gz
tar -xvf tables34.tar
and all files are extracted.
Then I change from root to IRAF user (I am still in the directory /iraf/extern/tables)
su iraf
setenv IRAFARCH suse
source $iraf/unix/hlib/irafuser.csh
After that I log on as root (in the same directory):
ln -s bin.suse bin
After that when I try (in /iraf/extern/tables):
mkpkg suse
I get the message:
bash: mkpkg: command not found
Does anyone know what the problem might be? Unfortunately there are no binaries for SUSE so I need to compile TABLES (and STSDAS) from scratch.
Thank you,
Dana Schwarz
digireg wrote on Feb 24, 2006
I passed the point with mkpkg :)
The probem that mkpkg should be installed and it also available as a tool for root user.
Now i have other problem with compilation of binaries from scratch.
Is it possible to use Redhat binaries?
The probem that mkpkg should be installed and it also available as a tool for root user.
Now i have other problem with compilation of binaries from scratch.
Is it possible to use Redhat binaries?
Mike Fitzpatrick wrote on Feb 24, 2006
If you post specifics I'm sure we can work through the compilation problems, however installing the RedHat binaries in the package 'bin.suse' directory should work for a SuSE 9 system. Post back if there are problems.
Cheers,
-Mike
Cheers,
-Mike
Last post on Feb 24, 2006