Kara-Moon Forum
March 29, 2024, 03:15:04 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Installing on Mac  (Read 2377 times)
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« on: November 12, 2020, 02:11:51 AM »

The current read-me for installing on a mac system is VERY old and dated. Here it is all in all its archaic glory:

     https://mellowood.ca/mma/mac/machowto.html

I think things have gotten easier over the years and should be as easy as:

   - unpack the binary tarball
   - run the cp-install script
   - move or link mma from /usr/local/bin to /sw/bin/mma

What I don't know:
 
   - is mac shipping/installing a version of python3?
   - do mac users need to change to administer mode or something similar to install?

If someone can give me a heads up on this I'll update the instructions!
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #1 on: November 12, 2020, 07:36:46 AM »

I'm not a Mac expert, but I can tell you that Catalina (10.15) comes with python 2.7.10 pre-installed. It also seems to know about python3, but this gives a warning (error):

xcode-select: error: tool 'python3' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

I'm not sure what that means.

I did the following:

Code:
tar xf /mma-devl.20.02e.tar.gz
cd mma-bin-20.02e
python mma.py -G

AFAICS python mma.py behaves normally. A small mma does the rest:

Code:
#!/bin/sh
exec python <location of mma>/mma.py ${1+"$@"}

I also tried mma-gb. It starts up slow (parsing the grooves takes one second per groove!) and gives a deprecation warning that the system Tk is obsolete. I couldn't get it to work, it's too slow.

Hope this helps...
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #2 on: November 12, 2020, 04:14:31 PM »

Did you try something like "python3 mma ..."?

Also, would this link help: https://www.saintlad.com/install-python-3-on-mac/
« Last Edit: November 12, 2020, 04:17:58 PM by bvdp » Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #3 on: November 12, 2020, 06:37:07 PM »

I installed python3 using homebrew. Note that I needed to tweak my PATH to make sure that python3 did run the newly installed version, not the system version.

Running mma with python3 works equally well. Equally slow.
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #4 on: November 12, 2020, 06:53:33 PM »

Slow? Just doing the update or creating files as well? I'm assuming you don't have a mac from the 1990s Smiley
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #5 on: November 12, 2020, 07:41:06 PM »

The mma-gb still parses at one file per second. Plain command-line mma feels okay.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 19 queries.