BenoitMorel / Asteroid

GNU Affero General Public License v3.0
10 stars 1 forks source link

Cannot run asteroid #2

Open djlohman opened 1 year ago

djlohman commented 1 year ago

I'm on a Mac running 10.15.7. When I download the mac binary and try to run the program, I get the error "Permission denied". When I try to run it with the sudo command, I get the error "sudo: ./asteroid_mac: command not found". The Mac binary (537 KB) is suspiciously smaller than the Linux binary (8.7 MB), but I get the same errors with the Linux binary when attempting to run it on my Mac. The git clone command installs an Asteroid folder in "User/Applications", but when I try ./install.sh in that folder, I get the following errors:

User-MBP-2:Asteroid User$ ./install.sh ./install.sh: line 4: cmake: command not found make: *** No targets specified and no makefile found. Stop. Now running unit tests... PLEASE RUN THIS SCRIPT FROM THE ASTEROID ROOT DIRECTORY ./run_tests.sh: line 3: build/bin/test_stepwise_induced: No such file or directory ./run_tests.sh: line 4: build/bin/test_bitvector: No such file or directory ./run_tests.sh: line 5: build/bin/test_mappings: No such file or directory ./run_tests.sh: line 6: build/bin/test_unrooted_trees: No such file or directory ./run_tests.sh: line 7: build/bin/test_internode_distance: No such file or directory

Any help would be appreciated.

BenoitMorel commented 1 year ago

Dear David, Thank you for your report. I mostly work with linux and I might have messed up something with the mac binary... I will investigate why it doesn't work. Meanwhile, if you want to install with ./install.sh, you have to install cmake first. I don't have a mac, but I think that typing "brew install cmake" should do the trick. Let me know if that helps Benoit

Le ven. 24 févr. 2023 à 18:17, David J. Lohman @.***> a écrit :

I'm on a Mac running 10.15.7. When I download the mac binary and try to run the program, I get the error "Permission denied". When I try to run it with the sudo command, I get the error "sudo: ./asteroid_mac: command not found". The Mac binary (537 KB) is suspiciously smaller than the Linux binary (8.7 MB), but I get the same errors with the Linux binary when attempting to run it on my Mac. The git clone command installs an Asteroid folder in "User/Applications", but when I try ./install.sh in that folder, I get the following errors:

User-MBP-2:Asteroid User$ ./install.sh ./install.sh: line 4: cmake: command not found make: *** No targets specified and no makefile found. Stop. Now running unit tests... PLEASE RUN THIS SCRIPT FROM THE ASTEROID ROOT DIRECTORY ./run_tests.sh: line 3: build/bin/test_stepwise_induced: No such file or directory ./run_tests.sh: line 4: build/bin/test_bitvector: No such file or directory ./run_tests.sh: line 5: build/bin/test_mappings: No such file or directory ./run_tests.sh: line 6: build/bin/test_unrooted_trees: No such file or directory ./run_tests.sh: line 7: build/bin/test_internode_distance: No such file or directory

Any help would be appreciated.

— Reply to this email directly, view it on GitHub https://github.com/BenoitMorel/Asteroid/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ3UIP65L42RQG644S5NLWZDULVANCNFSM6AAAAAAVHEPFKE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

djlohman commented 1 year ago

This worked, thanks! You might mention in the documentation that users must install other software that is necessary for compilation.

BenoitMorel commented 1 year ago

Great. Yes, I'll do it!

Le ven. 24 févr. 2023 à 21:44, David J. Lohman @.***> a écrit :

This worked, thanks! You might mention in the documentation that users must install other software that is necessary for compilation.

— Reply to this email directly, view it on GitHub https://github.com/BenoitMorel/Asteroid/issues/2#issuecomment-1444451572, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJJ3UNAJANC4L5C4BQ32JLWZEMTNANCNFSM6AAAAAAVHEPFKE . You are receiving this because you commented.Message ID: @.***>