Menu

Installing database on a different volume with ASTAP Mac

2023-09-07
2023-09-09
  • Normand Rivard

    Normand Rivard - 2023-09-07

    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
  • han.k

    han.k - 2023-09-08

    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
  • Klaus W.

    Klaus W. - 2023-09-08

    You could use symlinks as well.

    K.

     
  • Normand Rivard

    Normand Rivard - 2023-09-09

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.