LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2017, 10:06 AM   #1
cgroeneveld
LQ Newbie
 
Registered: Nov 2017
Distribution: Fedora 26
Posts: 4

Rep: Reputation: Disabled
DS9 on Fedora 26


Hello everyone!

I have tried installing DS9 on Fedora 26 and ran into some trouble with TCL. After installing the DS9 rpm and running DS9 I get the following error message:

Code:
Application initialization failed: Can't find a usable init.tcl in the following directories: 
    ./zvfsmntpt/tcl8.5 /home/abuild/rpmbuild/BUILD/saods9/lib/tcl8.5 /usr/lib/tcl8.5 /lib/tcl8.5 /usr/library /library /tcl8.5.9/library /tcl8.5.9/library



This probably means that Tcl wasn't installed properly.

Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such file or directory
Searching for init.tcl yields nothing really interesting:
Code:
[root@localhost ~]# find init.tcl
find: ‘init.tcl’: No such file or directory
It almost seems like tcl is not installed, although when I run
Code:
dnf install tcl
I get the following:
Code:
Package tcl-1:8.6.6-2.fc26.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
Which seems to indicate I already have tcl installed. Can someone help me out? All help is very much appreciated, thank you!
 
Old 11-15-2017, 12:43 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,602

Rep: Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648
for those that do not know
-- ds9 -- uses Motif still
http://ds9.si.edu/site/Home.html

what rpm are you using and from where did you get it

you are using Fedora after all
and MOST!!!! software is a bit too old to run on fedora with out minor hacking of the source
 
1 members found this post helpful.
Old 11-15-2017, 03:10 PM   #3
cgroeneveld
LQ Newbie
 
Registered: Nov 2017
Distribution: Fedora 26
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello! Thanks for helping out!

I am using the rpm from https://pkgs.org/download/ds9, I picked the Fedora 26 option.
 
Old 11-15-2017, 09:21 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,599

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185
Your find statement error is telling you that there's no such path as init.tcl
The first argument to find is the path to be searched. Suggest you read man find
Code:
sudo find / -name init.tcl -ls
 
Old 11-16-2017, 03:44 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,521

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I think the rpm you used is incompatible with Fedora 26. If you're going to use Fedora, then just be happy with the packages in the Fedora repos.
 
1 members found this post helpful.
Old 11-16-2017, 05:13 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Right. The package ds9-7.2-9.1.x86_64.rpm is not a real Fedora 26 package.

ds9-7.2-9.1.x86_64.rpm : Was built with an internal tcl / tk version 8.5.9.
... None of the internal libraries are supplied with the package :
$ sh unPack_rpm.sh ds9-7.2-9.1.x86_64.rpm
./etc/prelink.conf.d/ds9.conf
./usr/bin/ds9
./usr/share/applications/ds9.desktop
./usr/share/doc/ds9
./usr/share/doc/ds9/COPYING
./usr/share/doc/ds9/README
./usr/share/doc/ds9/copyright
./usr/share/doc/ds9/notes.txt
./usr/share/pixmaps/ds9.png

Note :
The internal packages are used when building from the source ds9-7.2-9.1.src.rpm
https://fedora.pkgs.org/26/rpm-spher...86_64.rpm.html
But : This SRPM source do not build a package in Fedora 26: Fails !

-
 
Old 11-16-2017, 05:20 AM   #7
cgroeneveld
LQ Newbie
 
Registered: Nov 2017
Distribution: Fedora 26
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'll try to build DS9 from the source, using the source from the website of DS9: http://ds9.si.edu/site/Download.html. Hopefully this will work
 
Old 11-17-2017, 06:16 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Packages for Fedora : http://ds9.si.edu/site/Download.html
→ el7 → http://ds9.si.edu/download/centos7/d...os7.7.5.tar.gz
or el6→ http://ds9.si.edu/download/centos6/d...os6.7.5.tar.gz

Example : $ tar xvf ds9.centos7.7.5.tar.gz : One file: The executable 'ds9'.
Fedora 26: This "ds9" is really self contained: Click the file, and the ds9 GUI opens.
( Or copy 'ds9' to /usr/local/bin/ , and do $ ds9 )
Icon files : ds9.desktop, ds9.png : ds9-7.2-9.1.src.rpm

-

Last edited by knudfl; 11-17-2017 at 06:17 AM.
 
1 members found this post helpful.
Old 11-17-2017, 06:55 AM   #9
cgroeneveld
LQ Newbie
 
Registered: Nov 2017
Distribution: Fedora 26
Posts: 4

Original Poster
Rep: Reputation: Disabled
Well turns out that just works. I feel so incredibly stupid now lol. Thank you very much!!
 
  


Reply

Tags
ds9, saods9


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Fedora Present and Future: a Fedora.next 2014 Update (Part IV.e, Fedora Cloud?) LXer Syndicated Linux News 0 08-02-2014 10:01 AM
LXer: Fedora Present and Future: a Fedora.next 2014 Update (Part IV.d, “Fedora Workstation”) LXer Syndicated Linux News 0 06-02-2014 10:20 PM
Upgrade from Fedora 5 to Fedora 11 with a fedora 11 live CD wolverine047 Linux - Newbie 9 10-02-2009 06:08 AM
running ds9 and IDL on a remote server terrus Linux - General 3 09-15-2005 01:52 PM
http://download.fedora.us/fedora/fedora/3/i386/RPMS.os broken! caps_phisto Fedora 3 02-05-2005 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration