#54455 closed defect (invalid)
ds9: cannot execute
Reported by: | manulcaux | Owned by: | lpsinger (Leo Singer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ds9 |
Description (last modified by mf2k (Frank Schima))
Hi,
I followed the instructions given in the ticket:54389 to install ds9 on my MacBook Pro. Everything seems to be OK during the "installation", but I do not have a working ds9 after. If I type ds9 in a new terminal, I just have "command not found", same is true for saoimage.
I search where ds9 was installed, and found a SAOImage\ DS9.app/ in /opt/local/var/macports/software/ds9/Applications/MacPorts
but it doesn't seems to be working :
sudo SAOImage\ DS9.app/ Password: sudo: SAOImage DS9.app/: command not found [macp2034:ds9/Applications/MacPorts] caux%
Many thanks to give me more instructions to have a working ds9.
Cheers,
Change History (8)
comment:1 Changed 7 years ago by raimue (Rainer Müller)
Owner: | set to lpsinger |
---|---|
Port: | ds9 added |
Status: | new → assigned |
Summary: | I reopen ticket 54389 as the problem is not solved for me → ds9: cannot execute |
comment:2 Changed 7 years ago by manulcaux
Hi,
No, I was looking where the command sudo port install ds9 would have installed it as it was not working when typing ds9 (or saoimage) in a new terminal after the macport installation. Doing this check, I found a new ds9 application in the directory /opt/local/var/macports/software/ds9/Applications/MacPorts, it is why I tried to launch it from there.
The problem is the command sudo port install ds9 seems to work correctly :
[macp2034:~] caux% sudo port uninstall ds9 ---> Deactivating ds9 @7.5_1+aqua ---> Cleaning ds9 ---> Uninstalling ds9 @7.5_1+aqua ---> Cleaning ds9 [macp2034:~] caux% sudo port install ds9 ---> Computing dependencies for ds9 ---> Fetching archive for ds9 ---> Attempting to fetch ds9-7.5_1+aqua.darwin_16.x86_64.tbz2 from https://packages.macports.org/ds9 ---> Attempting to fetch ds9-7.5_1+aqua.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/ds9 ---> Installing ds9 @7.5_1+aqua ---> Activating ds9 @7.5_1+aqua ---> Cleaning ds9 ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. [macp2034:~] caux%
But is now in a new terminal I type ds9 or saoimage, I have :
[macp2034:~] caux% ds9 ds9: Command not found. [macp2034:~] caux%
Therefore, for me ds9 is not installed correctly, but if yes, please let me know how I can launch it ?
Many thanks
comment:3 Changed 7 years ago by raimue (Rainer Müller)
Please use WikiFormatting.
To see the files installed by the port, check the output of port contents ds9
.
The path /opt/local/var/macports/software/ds9/Applications/MacPorts
is inside an internal directory of MacPorts and nothing should be installed there. Did you modify the applications_dir
in /opt/local/etc/macports/macports.conf
in any way?
comment:4 Changed 7 years ago by manulcaux
Hi,
I never modified /opt/local/etc/macports/macports.conf.
But when I launch the command sudo port install ds9 and it seemed to work as it didn't throw any errors (after you made the executable ?) , it obviously changed something in my /opt/local/var/macports/software/ds9/Applications/MacPorts directory as I have there a directory ds9 created on July 7 2017 at 11:12am.
Many thanks for helping me
comment:5 Changed 7 years ago by mf2k (Frank Schima)
Priority: | High → Normal |
---|
The Priority field is for use by Macports team members only. In the future, please use WikiFormatting.
comment:6 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:7 Changed 7 years ago by lpsinger (Leo Singer)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
What you want to do is go into the Finder, navigate to "Applications" -> "MacPorts", and double-click "SAOImage DS9". If you want a version that you can run from the command line, then you should install the X11 variant:
$ sudo port install ds9 +x11
comment:8 Changed 7 years ago by manulcaux
Hi,
Many thanks, I uninstalled the ds9 version and sucessfully installed ds9 +x11.
The ticket can be closed
Thanks again !
Do you mean
/Applications/MacPorts/
? An .app bundle is meant to be opened from Finder. You cannot run it with sudo and you also should not need to.