Welcome to iraf.net Thursday, April 18 2024 @ 11:29 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 DS9 on Iraf for FC6
   
johnluke
 03/13/2007 07:02PM (Read 14269 times)  
+----
Newbie

Status: offline


Registered: 02/19/2007
Posts: 4
hello
how can i install Ds9 on iraf? I could not find the help file in the download pages for this package, just the Ds9.
Sorry for noise Exclaimation greetings
john

 
Profile Email Website
 Quote
fitz
 03/13/2007 07:02PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
DS9 is installed by simply moving the binary to some directory (e.g. /usr/local/bin or /usr/bin) already in your path. It must be started manually before you try to display anything, either outside the CL or from the prompt with "cl> !ds9 &" to run it in the background. I've updated the downloads area with the latest version binaries.-Mike

 
Profile Email
 Quote
johnluke
 03/13/2007 07:02PM  
+----
Newbie

Status: offline


Registered: 02/19/2007
Posts: 4
Thanks!
When i start DS9 i have this warning "XPA unable to verify host name". Ok, i have not yet set my internet conn. on FC6, hovever host name is my "local domain" or what is XPA? Confused
Regards
John

 
Profile Email Website
 Quote
fitz
 03/13/2007 07:02PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
XPA is the "X Public Access" mechanism, its a messaging system in DS9 that allows e.g. host scripts to load images or control the display. These are a set of separate binaries you can get from the SAO site and install in the same directory. For now, you can ignore the message.-Mike

 
Profile Email
 Quote
emiliano
 03/13/2007 07:02PM  
+++--
Chatty

Status: offline


Registered: 12/05/2005
Posts: 38
I have the same problem on a Gentoo 2007.0 (x86) system...
It seems that ds9 cannot start the xpans name server... but I have installed the xpa binaries in /usr/local/bin, the same directory where is ds9.If I set the environment variable: XPA_METHOD=local then ds9 will start without error messages (and xpa access to ds9 will work). Looking at running processes with ps, I can see:[code:1:496c889bde] 4325 pts/0 S 0:00 ds9
4326 ? Ss 0:00 /usr/local/bin/xpans -e -f /tmp/.xpa/xpans_unix -l /tmp/.xpa/xpans_unix.log[/code:1:496c889bde]that is ds9 can start xpans using local unix sockets instead of inet sockets...Now on a Mac OSX 10.4.9 (Intel) system, I have no problems at all: if I run ds9 without any XPA environment variable set, ds9 will correctly start the xpans using inet sockets, as I can see from ps:[code:1:496c889bde] 2567 ?? S 0:00.39 /Applications/SAOImageDS9.app/ds9
2568 ?? Ss 0:00.00 /usr/local/bin/xpans -e -p 14285 -l /tmp/.xpa/xpans_14285.log[/code:1:496c889bde]in both cases I'm using the same version of ds9 (4.12) and xpa (2.1.7b2) as downloaded from SAO website (I downloaded the prebuilt binary packages.Emiliano
[EDIT]: I'm looking into ds9 source...and if the XPA_METHOD is not set to "local", the error message seems related to a failing checkdns() TCL function... and this function calls the C standard library gethostbyname() function.I looked into my /etc/hosts , and I found only the aliases for localhost:[code:1:496c889bde]# IPv4 and IPv6 localhost aliases
127.0.0.1 localhost
::1 localhost[/code:1:496c889bde]Since my hostname is "gentoo-vm", I added the following line:[code:1:496c889bde]127.0.0.1 gentoo-vm[/code:1:496c889bde]Now, ds9 starts with no errors, and will start the xpans with the right inet sockets. Also, ds9 access points are registered in the xpans:[code:1:496c889bde]$ xpaget xpans
DS9 ds9 gs 7f000001:3962 emiliano[/code:1:496c889bde]So you have two ways to solve the problem:
(1) set XPA_METHOD=local (and use xpa with unix sockets), or
(2) tweak the /etc/hosts
Cheers,
Emiliano.

 
Profile Email
 Quote
zabot
 03/13/2007 07:02PM  
+----
Newbie

Status: offline


Registered: 10/24/2007
Posts: 4
After an upgrade from kubuntu 7.04 to 7.10 (feisty to gutsy) I had
the same problem.
Solution (1) worked great!Cheers,
Alexandre Zabot

 
Profile Email
 Quote
FSBoyden
 03/13/2007 07:02PM  
++++-
Regular Member

Status: offline


Registered: 06/07/2006
Posts: 95
Hi thereOn the subject of DS9 in FC6 and XPA. There is a "XPA" distributed package available in the Fedora repositories, just do a search for it using yum...! It then also keeps the xpa system updated to the most current. Just a small bug to take note of is that the xpa system gets messed up somehow with each new kernel update. Reinstalling xpa, or updating fix this problem.I installed ds9 to a defined external directory in the iraf file system as "/iraf/extern/", where I installed all the external packages that I use in IRAF, also locally developed ones....thus it is "part" of the IRAF system. (For system managing purposes, and etc)DS9 can then be initialized by using a "loginuser.cl" file, and closed by using a "logout.cl" file that is defined in the home directory where the "login.cl" file is installed/created.Hope this helps. P.S. There are posts on calling DS9 from within the *.cl scripts.Cheers
Pat

 
Profile Email
 Quote
   
Content generated in: 0.16 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