Hi. I just installed ASTAP on my Mac Powerbook Intel. Seems to execute correctly. Then I installed the D50 database using the installer, but for disk space concern, I decided to install it on a different volume than my main HD. Now ASTAP runs but doesn't seem to see the database, no matter what I do. Even if I select Auto in Alignment tab in the Stack Menu, it still says "No star database found!"
Is there a way to tell ASTAP where the database is?
Thanks
Last edit: Normand Rivard 2023-09-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the responses, guys. Actually, using -d doesn't seem to be an option on a Mac as we don't start the application from the command line, but by clicking on a application icon (actually on a Mac package). I tried to locate the executable in the package directory, but even that didn't allow me to use -d. I would question the fact that the path to the database is hard-coded in the application and there is no way to tell ASTAP where it is from the GUI (user preferences?)
Klaus: yes, you are right. It works if I create a symlink to /Volumes/<myhddrive>/usr/local/opt/astap. For the record, first I had to create the opt in /usr/local as it doesn't exist on a Mac (I think this is a Linux thing). And of course I had to use sudo to do all that.</myhddrive>
That makes me think: why would the installer let me select the installation directory if it won't work anywhere else than in /usr/local/opt/ ? Unless the installer creates the symlink, but it doesn't do that.
Thanks again.
Norm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I just installed ASTAP on my Mac Powerbook Intel. Seems to execute correctly. Then I installed the D50 database using the installer, but for disk space concern, I decided to install it on a different volume than my main HD. Now ASTAP runs but doesn't seem to see the database, no matter what I do. Even if I select Auto in Alignment tab in the Stack Menu, it still says "No star database found!"
Is there a way to tell ASTAP where the database is?
Thanks
Last edit: Normand Rivard 2023-09-07
You can specify the path using the -d parameter. See:
http://www.hnsky.org/astap.htm#astap_command_line
I haven't tested it on the Mac but I assume it will work.
On the Mac the database is normally installed at:
/usr/local/opt/astap
You can also move astap executable to the database location. Again not tested at the Mac
Han
Last edit: han.k 2023-09-08
You could use symlinks as well.
K.
Thanks for the responses, guys. Actually, using -d doesn't seem to be an option on a Mac as we don't start the application from the command line, but by clicking on a application icon (actually on a Mac package). I tried to locate the executable in the package directory, but even that didn't allow me to use -d. I would question the fact that the path to the database is hard-coded in the application and there is no way to tell ASTAP where it is from the GUI (user preferences?)
Klaus: yes, you are right. It works if I create a symlink to /Volumes/<myhddrive>/usr/local/opt/astap. For the record, first I had to create the opt in /usr/local as it doesn't exist on a Mac (I think this is a Linux thing). And of course I had to use sudo to do all that.</myhddrive>
That makes me think: why would the installer let me select the installation directory if it won't work anywhere else than in /usr/local/opt/ ? Unless the installer creates the symlink, but it doesn't do that.
Thanks again.
Norm