Welcome to iraf.net Sunday, April 28 2024 @ 04:04 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Problem with running ds9
   
pmforlife
 11/12/2018 08:47AM (Read 2164 times)  
++---
Junior

Status: offline


Registered: 02/27/2015
Posts: 17
I have ubuntu 16.04.5 Desktop, 32 bit and have installed IRAF.

In the ds9 download page, (http://ds9.si.edu/site/Download.html) there is no separated versions for 64 and 32 bit. So I downloaded the one: Linux Ubuntu 16
When I unzipped it and try to run by typing ds9 in the terminal, I got the error:

bash: /usr/local/bin/ds9: cannot execute binary file: Exec format error


I searched and found that this error occurs when one try to run a 64bit app on 32 bit architecture or vice versa and a solution is to compile the source code if available.

So I downloaded ds9 source and tried to compile it based on its BUILD.txt guide file. It says:


% cd SAOImageDS9
% unix/configure
% make

ds9 will be located in SAOImageDS9/bin


I did this but got this error at the end in the terminal:

/home/ashk/DS9/SAOImageDS9/tk8.6/unix/../generic/tk.h:96:25: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
Makefile:1161: recipe for target 'tkStubLib.o' failed
make[1]: *** [tkStubLib.o] Error 1
make[1]: Leaving directory '/home/ashk/DS9/SAOImageDS9/tk8.6/unix'
Makefile:50: recipe for target 'tk' failed
make: *** [tk] Error 2

................................................
Why there is no 32 bit version for ds9? (I know that there was separated versions for 32/64 bit before)
Could you provide me with a 32bit version? Or tell me the problem with compiling process?

Thanks

 
Profile Email
 Quote
pmforlife
 11/21/2018 08:52PM  
++---
Junior

Status: offline


Registered: 02/27/2015
Posts: 17
200 views without any reply!

Could someone just tell me is there a 32-bit version of ds9 that I can download it?

 
Profile Email
 Quote
fitz
 11/22/2018 01:17AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You might need to poke around the DS9 archive site (http://ds9.si.edu/archive), but try

http://ds9.si.edu/archive/linux/ds9.linux.7.4.tar.gz

 
Profile Email
 Quote
pmforlife
 11/26/2018 10:03AM  
++---
Junior

Status: offline


Registered: 02/27/2015
Posts: 17
Quote by: fitz

You might need to poke around the DS9 archive site (http://ds9.si.edu/archive), but try

http://ds9.si.edu/archive/linux/ds9.linux.7.4.tar.gz



Thanks a lot. It worked! However, my problems do not finish and I encounter another one in working with ds9, which I am trying to solve it now! Rolling Eyes

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