Welcome to iraf.net Friday, May 17 2024 @ 04:44 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 suse 9.3 and tables/stsdas
   
Anonymous: Guest
 02/24/2006 07:38PM (Read 7076 times)  



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.clreset tables /iraf/extern/tables
task tables.pkg tables$tables.clreset stsdas /iraf/extern/stsdas
task stsdas.pkg stsdas$stsdas.clreset helpdb= "lib$helpdb.mip\
,noao$lib/helpdb.mip\
,tables$lib/helpdb.mip\
,stsdas$lib/helpdb.mip\
"keepThen 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.cshAfter 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 suseI get the message:
bash: mkpkg: command not foundDoes 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

 
 Quote
fitz
 02/24/2006 07:38PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:aaf60fc5c5]reset tables /iraf/extern/tables [/quote:aaf60fc5c5]Note that a trailing '/' is required on these paths, the same for stsdas.[quote:aaf60fc5c5]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
[/quote:aaf60fc5c5]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).[quote:aaf60fc5c5]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 [/quote:aaf60fc5c5]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 suseThe '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

 
Profile Email
 Quote
chuntera
 02/24/2006 07:38PM  
+----
Newbie

Status: offline


Registered: 03/06/2006
Posts: 4
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.[quote:438a889ff9="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.clreset tables /iraf/extern/tables
task tables.pkg tables$tables.clreset stsdas /iraf/extern/stsdas
task stsdas.pkg stsdas$stsdas.clreset helpdb= "lib$helpdb.mip\
,noao$lib/helpdb.mip\
,tables$lib/helpdb.mip\
,stsdas$lib/helpdb.mip\
"keepThen 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.cshAfter 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 suseI get the message:
bash: mkpkg: command not foundDoes 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[/quote:438a889ff9]

 
Profile Email Website
 Quote
digireg
 02/24/2006 07:38PM  
+----
Newbie

Status: offline


Registered: 05/31/2006
Posts: 1
I passed the point with mkpkg SmileThe 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?

 
Profile Email
 Quote
fitz
 02/24/2006 07:38PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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

 
Profile Email
 Quote
   
Content generated in: 0.19 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login