Menu

#3811 Installation Problems on Macbook Air with M1 running Big Sur

None
open
nobody
1
2021-07-29
2021-07-12
lvwarren
No

I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
I would like my next generation of math students to continue using it for the next 40 years.
Simple things should be simple to do, especially for students already drinking from the firehose.
I will briefly describe some barriers to entry and then describe two specific showstoppers.
Barriers to Entry:
1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
2) Let's say they Google wxMaxima. They are routed here:
https://maxima.sourceforge.io/download.html
3) From there they are routed here:
https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
4) From there they are routed here to a bewildering constellation of 21 possible versions.
Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
5) From there they download MacPorts-Maxima-5.45.1.dmg.

Two Showstoppers
From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

They then execute wxMaxima which produces a running session. However as soon as they click:
wxMaxima --> Preferences their session crashes reproducibly.

So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
All the best,
- Van
L Van Warren
facebook.com/LearningCalculus

1 Attachments

Related

Bugs: #3811

Discussion

  • Robert Dodier

    Robert Dodier - 2021-07-14

    Van, I appreciate your interest and apologize about the difficulties. From what I know, none of the Maxima developers have access to an M1 system to sort out the problems. Do you have access to such a system? Can you make it available to one or more Maxima developers? Are you perhaps willing to arrange for developer access to a commercial hosting service which offers M1 macs? Thanks for any information.

    Also, yet another installation method for macOS is Homebrew. I have installed Maxima via Homebrew and it seems to work fine. I don't know if that's the case on M1 as well.

     
    • Van

      Van - 2021-07-14

      Robert,

      Thanks for getting back to me on this time critical bug. The M1 system I have access to belongs to a student so I am not really in a position to make it available to the developers. I have worked with Guntar in the past on these kinds of issues with some success.

      brew capability on new Macs has been deprecated somewhat due to Apple's protecting the filesystem from ransomware, etc. I have gotten the MacPorts install to work just well enough that students can proceed on a limited basis, they are just unable to click preferences without a crash. The crash reports are automatically routed to Apple. I could make some inquiries to see if an M1 remote system could be made available.

      Regards,

      • Van

      From: Robert Dodier robert_dodier@users.sourceforge.net
      Sent: Wednesday, July 14, 2021 1:00 PM
      To: [maxima:bugs] 3811@bugs.maxima.p.re.sourceforge.net
      Subject: [maxima:bugs] #3811 Serious Maxima Installation Problems on Macbook Air with M1 running Big Sur

      Van, I appreciate your interest and apologize about the difficulties. From what I know, none of the Maxima developers have access to an M1 system to sort out the problems. Do you have access to such a system? Can you make it available to one or more Maxima developers? Are you perhaps willing to arrange for developer access to a commercial hosting service which offers M1 macs? Thanks for any information.

      Also, yet another installation method for macOS is Homebrew. I have installed Maxima via Homebrew and it seems to work fine. I don't know if that's the case on M1 as well.


      [bugs:#3811]https://sourceforge.net/p/maxima/bugs/3811/ Serious Maxima Installation Problems on Macbook Air with M1 running Big Sur

      Status: open
      Group: None
      Created: Mon Jul 12, 2021 06:14 AM UTC by lvwarren
      Last Updated: Mon Jul 12, 2021 06:14 AM UTC
      Owner: nobody
      Attachments:

      I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
      I would like my next generation of math students to continue using it for the next 40 years.
      Simple things should be simple to do, especially for students already drinking from the firehose.
      I will briefly describe some barriers to entry and then describe two specific showstoppers.
      Barriers to Entry:
      1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
      2) Let's say they Google wxMaxima. They are routed here:
      https://maxima.sourceforge.io/download.html
      3) From there they are routed here:
      https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
      4) From there they are routed here to a bewildering constellation of 21 possible versions.
      Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
      5) From there they download MacPorts-Maxima-5.45.1.dmg.

      Two Showstoppers
      From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

      For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

      They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

      They then execute wxMaxima which produces a running session. However as soon as they click:
      wxMaxima --> Preferences their session crashes reproducibly.

      So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
      All the best,
      - Van
      L Van Warren
      facebook.com/LearningCalculus


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3811/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #3811

  • Robert Dodier

    Robert Dodier - 2021-07-14
    • labels: --> installation, macos
     
  • Gunter Königsmann

    The reason for the config dialogue crash I still didn't find even if I was provided with a helpful backtrace (https://github.com/wxMaxima-developers/wxmaxima/issues/1558) - so today I rewrote most of the config dialogue tab that was affected hoping that this fixes the problem.

     
  • Tomio Arisaka

    Tomio Arisaka - 2021-07-17

    I'm not a licensed developer of macOS. So I cannot distribute anything with "App Store".

    If you want to make a binary of Maxima, see the "How_to_make_a_standalone_binary_of_Maxima.rtf" file.
    It shows how to make a standalone binary of Maxima with MacPorts.
    See: https://sourceforge.net/projects/maxima/files/Maxima-MacOS/5.43.0-MacOSX/

    If you don't like "MacPorts-Maxima-5.45.1.dmg", you should make a pull-request for MacPorts in order to update the official port-files of Maxima.
    See: https://github.com/macports/macports-ports/pulls
    (The MacPorts port-files are written in Tcl/Tk)

    If you are interested in "MacPorts-Maxima-5.45.1.dmg", see the following:

    $ xattr -h
    $ 
    $ man xattr
    $ 
    $ man ls
    
    • An example of using MacPorts-Maxima-5.45.1.dmg as follows:

    After downloading the "MacPorts-Maxima-5.45.1.dmg" file into the "${HOME}/Downloads" directory, enter the "xattr" command in order to remove the "quarantine" attribute of the "MacPorts-Maxima-5.45.1.dmg" file:
    (Note: Don't open the downloaded file before removing the "quarantine" attribute of it)

    $ cd ${HOME}/Downloads
    $ 
    $ ls -l@ MacPorts-Maxima-5.45.1.dmg
    total 588184
    -rw-r--r--@  1 maxima  staff     675856  7 16 18:21 MacPorts-Maxima-5.45.1.dmg
        com.apple.lastuseddate#PS          16 
        com.apple.quarantine           57 
    $ 
    $ xattr -d com.apple.quarantine ${HOME}/Downloads/MacPorts-Maxima-5.45.1.dmg
    $ 
    $ ls -l@ MacPorts-Maxima-5.45.1.dmg 
    -rw-r--r--@ 1 maxima  staff  675856  7 16 18:21 MacPorts-Maxima-5.45.1.dmg
        com.apple.lastuseddate#PS       16 
    

    Open the "MacPorts-Maxima-5.45.1.dmg" file and follow the "ReadMe for Intel Mac.rtf" or "ReadMe for M1 Mac.rtf" file.

    $ open MacPorts-Maxima-5.45.1.dmg 
    $ 
    $ open /Volumes/MacPorts-Maxima/ReadMe\ for\ Intel\ Mac.rtf 
    

    If MacPorts has already been installed, then enter the next command:

    $ sudo port selfupdate; sh /Volumes/MacPorts-Maxima/copy_portfiles.sh 
    

    Thanks,

     
  • Stavros Macrakis

    • summary: Serious Maxima Installation Problems on Macbook Air with M1 running Big Sur --> Installation Problems on Macbook Air with M1 running Big Sur
     
  • Tomio Arisaka

    Tomio Arisaka - 2021-07-18

    wxMaxima is not a part of the Maxima project. So I don't pay much attention to a bug of wxMaxima.
    But Gunter said "I rewrote most of the config dialogue tab that was affected hoping that this fixes the problem". Thanks, Gunter.

    Attached "Portfile" file is a port-file of wxMaxima. It includes "wxMaxima-devel" port which supports building a development version of wxMaxima.(Gunter's fixed version)
    (commit: 13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93)

    If you want to verify the Gunter's fix, then try the following:

    (Note: You have to install "MacPorts-Maxima-5.45.1.dmg" before trying this.
    Because the official port-file of wxMaxima does not include "wxMaxima-devel".)

    (1) Downloads the attached "Portfile" file into the "${HOME}/Downloads" directory
    and remove the "quarantine" attribute of it:

    $ xattr -d com.apple.quarantine ${HOME}/Downloads/Portfile
    

    (2) Copy the downloaded "Portfile" to the wxMaxima directory of MacPorts:

    $ cd $(port dir wxmaxima)
    $ 
    $ sudo cp -ip ./Portfile ./Portfile.prev
    Password:
    $ 
    $ sudo cp -i ${HOME}/Downloads/Portfile ./
    Password:
    overwrite ./Portfile? (y/n [n]) y
    $ 
    $ cd $HOME
    

    (3) Check the "wxMaxima-devel" port:

    $ port info wxmaxima-devel
    wxMaxima-devel @21.05.2-dev-20210715_1 (math, aqua)
    Variants:             wx32
    
    Description:          Graphical user interface for Maxima based on wxWidgets:
                          Provides the development version, which is typically
                          updated every day.
    Homepage:             https://wxmaxima-developers.github.io/wxmaxima/
    
    Build Dependencies:   cmake
    Library Dependencies: wxWidgets-3.0
    Runtime Dependencies: maxima
    Conflicts with:       wxMaxima
    Platforms:            darwin
    License:              GPL-2
    Maintainers:          none
    

    (4) If wxMaxima is installed and active, deactivate it:

    $ sudo port deactivate wxmaxima
    --->  Deactivating wxMaxima @21.05.1_1
    --->  Cleaning wxMaxima
    

    (5) Install wxMaxima-devel:

    $ sudo port install wxmaxima-devel
    --->  Computing dependencies for wxMaxima-devel
    --->  Fetching archive for wxMaxima-devel
       ...
       ...
    $ 
    $ port installed 'wxmaxima*' and active
    The following ports are currently installed:
      wxMaxima-devel @21.05.2-dev-20210715_1 (active)
    

    Thanks,

     
    • Gunter Königsmann

      That ports file is a valuable thing. Thanks a lot! As soon as someone can acknowledge that my changes have resolved the crash I'll try to create a new wxMaxima release.

       
    • Van

      Van - 2021-07-27

      No "Portfile" was attached to this message.

      I cannot log into sourceforge because they changed to multifactor authentication and my login no longer works and they don't disclose what authenticator app I am supposed to use. I have contacted them about this. No response yet.

      Perhaps github would be a better repo since it is more widely used and easier to log into.

      • Van

      From: Tomio Arisaka tomio-arisaka@users.sourceforge.net
      Sent: Sunday, July 18, 2021 4:43 AM
      To: [maxima:bugs] 3811@bugs.maxima.p.re.sourceforge.net
      Subject: [maxima:bugs] #3811 Installation Problems on Macbook Air with M1 running Big Sur

      wxMaxima is not a part of the Maxima project. So I don't pay much attention to a bug of wxMaxima.
      But Gunter said "I rewrote most of the config dialogue tab that was affected hoping that this fixes the problem". Thanks, Gunter.

      Attached "Portfile" file is a port-file of wxMaxima. It includes "wxMaxima-devel" port which supports building a development version of wxMaxima.(Gunter's fixed version)
      (commit: 13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93)

      If you want to verify the Gunter's fix, then try the following:

      (Note: You have to install "MacPorts-Maxima-5.45.1.dmg" before trying this.
      Because the official port-file of wxMaxima does not include "wxMaxima-devel".)

      (1) Downloads the attached "Portfile" file into the "${HOME}/Downloads" directory
      and remove the "quarantine" attribute of it:

      $ xattr -d com.apple.quarantine ${HOME}/Downloads/Portfile

      (2) Copy the downloaded "Portfile" to the wxMaxima directory of MacPorts:

      $ cd $(port dir wxmaxima)
      $
      $ sudo cp -ip ./Portfile ./Portfile.prev
      Password:
      $
      $ sudo cp -i ${HOME}/Downloads/Portfile ./
      Password:
      overwrite ./Portfile? (y/n [n]) y
      $
      $ cd $HOME

      (3) Check the "wxMaxima-devel" port:

      $ port info wxmaxima-devel
      wxMaxima-devel @21.05.2-dev-20210715_1 (math, aqua)
      Variants: wx32

      Description: Graphical user interface for Maxima based on wxWidgets:
      Provides the development version, which is typically
      updated every day.
      Homepage: https://wxmaxima-developers.github.io/wxmaxima/

      Build Dependencies: cmake
      Library Dependencies: wxWidgets-3.0
      Runtime Dependencies: maxima
      Conflicts with: wxMaxima
      Platforms: darwin
      License: GPL-2
      Maintainers: none

      (4) If wxMaxima is installed and active, deactivate it:

      $ sudo port deactivate wxmaxima
      ---> Deactivating wxMaxima @21.05.1_1
      ---> Cleaning wxMaxima

      (5) Install wxMaxima-devel:

      $ sudo port install wxmaxima-devel
      ---> Computing dependencies for wxMaxima-devel
      ---> Fetching archive for wxMaxima-devel
      ...
      ...
      $
      $ port installed 'wxmaxima*' and active
      The following ports are currently installed:
      wxMaxima-devel @21.05.2-dev-20210715_1 (active)

      Thanks,

      Attachments:


      [bugs:#3811]https://sourceforge.net/p/maxima/bugs/3811/ Installation Problems on Macbook Air with M1 running Big Sur

      Status: open
      Group: None
      Labels: installation macos
      Created: Mon Jul 12, 2021 06:14 AM UTC by lvwarren
      Last Updated: Sat Jul 17, 2021 05:58 PM UTC
      Owner: nobody
      Attachments:

      I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
      I would like my next generation of math students to continue using it for the next 40 years.
      Simple things should be simple to do, especially for students already drinking from the firehose.
      I will briefly describe some barriers to entry and then describe two specific showstoppers.
      Barriers to Entry:
      1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
      2) Let's say they Google wxMaxima. They are routed here:
      https://maxima.sourceforge.io/download.html
      3) From there they are routed here:
      https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
      4) From there they are routed here to a bewildering constellation of 21 possible versions.
      Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
      5) From there they download MacPorts-Maxima-5.45.1.dmg.

      Two Showstoppers
      From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

      For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

      They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

      They then execute wxMaxima which produces a running session. However as soon as they click:
      wxMaxima --> Preferences their session crashes reproducibly.

      So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
      All the best,
      - Van
      L Van Warren
      facebook.com/LearningCalculus


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3811/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #3811

      • Gunter Königsmann

        Google authenticator and many apps that are compatible to this app should work.

        Am 27. Juli 2021 09:40:17 MESZ schrieb Van lvwarren@users.sourceforge.net:

        No "Portfile" was attached to this message.

        I cannot log into sourceforge because they changed to multifactor authentication and my login no longer works and they don't disclose what authenticator app I am supposed to use. I have contacted them about this. No response yet.

        Perhaps github would be a better repo since it is more widely used and easier to log into.

        • Van

        From: Tomio Arisaka tomio-arisaka@users.sourceforge.net
        Sent: Sunday, July 18, 2021 4:43 AM
        To: [maxima:bugs] 3811@bugs.maxima.p.re.sourceforge.net
        Subject: [maxima:bugs] #3811 Installation Problems on Macbook Air with M1 running Big Sur

        wxMaxima is not a part of the Maxima project. So I don't pay much attention to a bug of wxMaxima.
        But Gunter said "I rewrote most of the config dialogue tab that was affected hoping that this fixes the problem". Thanks, Gunter.

        Attached "Portfile" file is a port-file of wxMaxima. It includes "wxMaxima-devel" port which supports building a development version of wxMaxima.(Gunter's fixed version)
        (commit: 13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93)

        If you want to verify the Gunter's fix, then try the following:

        (Note: You have to install "MacPorts-Maxima-5.45.1.dmg" before trying this.
        Because the official port-file of wxMaxima does not include "wxMaxima-devel".)

        (1) Downloads the attached "Portfile" file into the "${HOME}/Downloads" directory
        and remove the "quarantine" attribute of it:

        $ xattr -d com.apple.quarantine ${HOME}/Downloads/Portfile

        (2) Copy the downloaded "Portfile" to the wxMaxima directory of MacPorts:

        $ cd $(port dir wxmaxima)
        $
        $ sudo cp -ip ./Portfile ./Portfile.prev
        Password:
        $
        $ sudo cp -i ${HOME}/Downloads/Portfile ./
        Password:
        overwrite ./Portfile? (y/n [n]) y
        $
        $ cd $HOME

        (3) Check the "wxMaxima-devel" port:

        $ port info wxmaxima-devel
        wxMaxima-devel @21.05.2-dev-20210715_1 (math, aqua)
        Variants: wx32

        Description: Graphical user interface for Maxima based on wxWidgets:
        Provides the development version, which is typically
        updated every day.
        Homepage: https://wxmaxima-developers.github.io/wxmaxima/

        Build Dependencies: cmake
        Library Dependencies: wxWidgets-3.0
        Runtime Dependencies: maxima
        Conflicts with: wxMaxima
        Platforms: darwin
        License: GPL-2
        Maintainers: none

        (4) If wxMaxima is installed and active, deactivate it:

        $ sudo port deactivate wxmaxima
        ---> Deactivating wxMaxima @21.05.1_1
        ---> Cleaning wxMaxima

        (5) Install wxMaxima-devel:

        $ sudo port install wxmaxima-devel
        ---> Computing dependencies for wxMaxima-devel
        ---> Fetching archive for wxMaxima-devel
        ...
        ...
        $
        $ port installed 'wxmaxima*' and active
        The following ports are currently installed:
        wxMaxima-devel @21.05.2-dev-20210715_1 (active)

        Thanks,

        Attachments:


        [bugs:#3811]https://sourceforge.net/p/maxima/bugs/3811/ Installation Problems on Macbook Air with M1 running Big Sur

        Status: open
        Group: None
        Labels: installation macos
        Created: Mon Jul 12, 2021 06:14 AM UTC by lvwarren
        Last Updated: Sat Jul 17, 2021 05:58 PM UTC
        Owner: nobody
        Attachments:

        I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
        I would like my next generation of math students to continue using it for the next 40 years.
        Simple things should be simple to do, especially for students already drinking from the firehose.
        I will briefly describe some barriers to entry and then describe two specific showstoppers.
        Barriers to Entry:
        1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
        2) Let's say they Google wxMaxima. They are routed here:
        https://maxima.sourceforge.io/download.html
        3) From there they are routed here:
        https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
        4) From there they are routed here to a bewildering constellation of 21 possible versions.
        Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
        5) From there they download MacPorts-Maxima-5.45.1.dmg.

        Two Showstoppers
        From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

        For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

        They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

        They then execute wxMaxima which produces a running session. However as soon as they click:
        wxMaxima --> Preferences their session crashes reproducibly.

        So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
        All the best,
        - Van
        L Van Warren
        facebook.com/LearningCalculus


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3811/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


        [bugs:#3811] Installation Problems on Macbook Air with M1 running Big Sur

        Status: open
        Group: None
        Labels: installation macos
        Created: Mon Jul 12, 2021 06:14 AM UTC by lvwarren
        Last Updated: Sun Jul 18, 2021 12:02 PM UTC
        Owner: nobody
        Attachments:

        I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
        I would like my next generation of math students to continue using it for the next 40 years.
        Simple things should be simple to do, especially for students already drinking from the firehose.
        I will briefly describe some barriers to entry and then describe two specific showstoppers.
        Barriers to Entry:
        1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
        2) Let's say they Google wxMaxima. They are routed here:
        https://maxima.sourceforge.io/download.html
        3) From there they are routed here:
        https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
        4) From there they are routed here to a bewildering constellation of 21 possible versions.
        Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
        5) From there they download MacPorts-Maxima-5.45.1.dmg.

        Two Showstoppers
        From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

        For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

        They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

        They then execute wxMaxima which produces a running session. However as soon as they click:
        wxMaxima --> Preferences their session crashes reproducibly.

        So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
        All the best,
        - Van
        L Van Warren
        facebook.com/LearningCalculus


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3811/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

        Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

         

        Related

        Bugs: #3811

      • Gunter Königsmann

        Google authenticator and many apps that are compatible to this app should work.

        Am 27. Juli 2021 09:40:17 MESZ schrieb Van lvwarren@users.sourceforge.net:

        No "Portfile" was attached to this message.

        I cannot log into sourceforge because they changed to multifactor authentication and my login no longer works and they don't disclose what authenticator app I am supposed to use. I have contacted them about this. No response yet.

        Perhaps github would be a better repo since it is more widely used and easier to log into.

        • Van

        From: Tomio Arisaka tomio-arisaka@users.sourceforge.net
        Sent: Sunday, July 18, 2021 4:43 AM
        To: [maxima:bugs] 3811@bugs.maxima.p.re.sourceforge.net
        Subject: [maxima:bugs] #3811 Installation Problems on Macbook Air with M1 running Big Sur

        wxMaxima is not a part of the Maxima project. So I don't pay much attention to a bug of wxMaxima.
        But Gunter said "I rewrote most of the config dialogue tab that was affected hoping that this fixes the problem". Thanks, Gunter.

        Attached "Portfile" file is a port-file of wxMaxima. It includes "wxMaxima-devel" port which supports building a development version of wxMaxima.(Gunter's fixed version)
        (commit: 13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93)

        If you want to verify the Gunter's fix, then try the following:

        (Note: You have to install "MacPorts-Maxima-5.45.1.dmg" before trying this.
        Because the official port-file of wxMaxima does not include "wxMaxima-devel".)

        (1) Downloads the attached "Portfile" file into the "${HOME}/Downloads" directory
        and remove the "quarantine" attribute of it:

        $ xattr -d com.apple.quarantine ${HOME}/Downloads/Portfile

        (2) Copy the downloaded "Portfile" to the wxMaxima directory of MacPorts:

        $ cd $(port dir wxmaxima)
        $
        $ sudo cp -ip ./Portfile ./Portfile.prev
        Password:
        $
        $ sudo cp -i ${HOME}/Downloads/Portfile ./
        Password:
        overwrite ./Portfile? (y/n [n]) y
        $
        $ cd $HOME

        (3) Check the "wxMaxima-devel" port:

        $ port info wxmaxima-devel
        wxMaxima-devel @21.05.2-dev-20210715_1 (math, aqua)
        Variants: wx32

        Description: Graphical user interface for Maxima based on wxWidgets:
        Provides the development version, which is typically
        updated every day.
        Homepage: https://wxmaxima-developers.github.io/wxmaxima/

        Build Dependencies: cmake
        Library Dependencies: wxWidgets-3.0
        Runtime Dependencies: maxima
        Conflicts with: wxMaxima
        Platforms: darwin
        License: GPL-2
        Maintainers: none

        (4) If wxMaxima is installed and active, deactivate it:

        $ sudo port deactivate wxmaxima
        ---> Deactivating wxMaxima @21.05.1_1
        ---> Cleaning wxMaxima

        (5) Install wxMaxima-devel:

        $ sudo port install wxmaxima-devel
        ---> Computing dependencies for wxMaxima-devel
        ---> Fetching archive for wxMaxima-devel
        ...
        ...
        $
        $ port installed 'wxmaxima*' and active
        The following ports are currently installed:
        wxMaxima-devel @21.05.2-dev-20210715_1 (active)

        Thanks,

        Attachments:


        [bugs:#3811]https://sourceforge.net/p/maxima/bugs/3811/ Installation Problems on Macbook Air with M1 running Big Sur

        Status: open
        Group: None
        Labels: installation macos
        Created: Mon Jul 12, 2021 06:14 AM UTC by lvwarren
        Last Updated: Sat Jul 17, 2021 05:58 PM UTC
        Owner: nobody
        Attachments:

        I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
        I would like my next generation of math students to continue using it for the next 40 years.
        Simple things should be simple to do, especially for students already drinking from the firehose.
        I will briefly describe some barriers to entry and then describe two specific showstoppers.
        Barriers to Entry:
        1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
        2) Let's say they Google wxMaxima. They are routed here:
        https://maxima.sourceforge.io/download.html
        3) From there they are routed here:
        https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
        4) From there they are routed here to a bewildering constellation of 21 possible versions.
        Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
        5) From there they download MacPorts-Maxima-5.45.1.dmg.

        Two Showstoppers
        From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

        For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

        They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

        They then execute wxMaxima which produces a running session. However as soon as they click:
        wxMaxima --> Preferences their session crashes reproducibly.

        So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
        All the best,
        - Van
        L Van Warren
        facebook.com/LearningCalculus


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3811/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


        [bugs:#3811] Installation Problems on Macbook Air with M1 running Big Sur

        Status: open
        Group: None
        Labels: installation macos
        Created: Mon Jul 12, 2021 06:14 AM UTC by lvwarren
        Last Updated: Sun Jul 18, 2021 12:02 PM UTC
        Owner: nobody
        Attachments:

        I've been using Maxima since Dr. Jim Purtillo brought it to the University of Illinois from MIT in 1981.
        I would like my next generation of math students to continue using it for the next 40 years.
        Simple things should be simple to do, especially for students already drinking from the firehose.
        I will briefly describe some barriers to entry and then describe two specific showstoppers.
        Barriers to Entry:
        1) Should the user Google Maxima, or wxMaxima? How do they know which one to install?
        2) Let's say they Google wxMaxima. They are routed here:
        https://maxima.sourceforge.io/download.html
        3) From there they are routed here:
        https://sourceforge.net/projects/maxima/files/Maxima-MacOS/
        4) From there they are routed here to a bewildering constellation of 21 possible versions.
        Let's say devoid of any other guiding principle, they watched 'Contact' with Jodie Foster and, armed with Occam's Razor, they choose the most recent version: 5.45.1 dated 6-23-2021.
        5) From there they download MacPorts-Maxima-5.45.1.dmg.

        Two Showstoppers
        From there they encounter Apple's quarantine, and after following the instructions included in the distribution, they find that even after lifting the quarantine with heavy Unix magic, this distribution does not work on the M1 Macbook Air because it cannot send events to the terminal. Dead End One. 90% of students deterred.

        For the 10% of students that remain, they read further and discover that wxMaxima can be installed using MacPorts. This means that since their computer is new they most install MacPorts because it is not installed by default. The 8% of students that remain discover that to install MacPorts they must install the XCode Command Line tools. They do so and now have to edit their .zprofile file to include the correct path to the newly installed tools for port to work.

        They then do a sudo port install which installs 5.43.2 of Maxima and wxMaxima of 21.02.0_MAC.

        They then execute wxMaxima which produces a running session. However as soon as they click:
        wxMaxima --> Preferences their session crashes reproducibly.

        So this last line is my bug report. The first part is the hell the average student has to go through to get to it. My question is, what would it take for wxMaxima to be packaged in a form acceptable to the app store, since random downloads are no longer particularly safe?
        All the best,
        - Van
        L Van Warren
        facebook.com/LearningCalculus


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3811/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

        Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

         

        Related

        Bugs: #3811

  • Tomio Arisaka

    Tomio Arisaka - 2021-07-29

    No "Portfile" was attached to this message.

    I cannot log into sourceforge because they changed to multifactor authentication and my login no longer works and they don't disclose what authenticator app I am supposed to use. I have contacted them about this. No response yet.
    Perhaps github would be a better repo since it is more widely used and easier to log into.
    Van

    I think this page is open to the public. So anyone can download the attached file without login.
    I am using Firefox and I have no problem with it.

    Anyway, how to make the attached "Portfile" file is as follows:

    (0) You have to install "MacPorts-Maxima-5.45.1.dmg" before trying this.
    Because the official port-file of wxMaxima does not include "wxMaxima-devel".

    (1) Change the current working directory to the wxMaxima directory of MacPorts,
    make a copy of the "Portfile",
    and copy it to the "${HOME}/Downloads" directory:

    $ cd $(port dir wxmaxima)
    $ 
    $ ls -lt
    total 24
    -rw-r--r--  1 root  505  4632  7  8 00:48 Portfile
    drwxr-xr-x  4 root  505   136  7  8 00:48 files
    -rw-r--r--  1 root  505  3146  4 15 17:15 Portfile.orig
    $ 
    $ sudo cp -ip ./Portfile ./Portfile.prev
    Password:
    $ 
    $ sudo cp -i ./Portfile ${HOME}/Downloads/
    

    (2) Edit the copy of the "Portfile" in order to change the version of wxMaxima-devel.
    And copy it to the wxMaxima directory of MacPorts:

    $ sudo cp -i ${HOME}/Downloads/Portfile ./
    Password:
    overwrite ./Portfile? (y/n [n]) y
    $ 
    $ ls -lt
    total 40
    -rw-r--r--@ 1 root  505  4633  7 16 17:00 Portfile
    -rw-r--r--  1 root  505  4632  7  8 00:48 Portfile.prev
    drwxr-xr-x  4 root  505   136  7  8 00:48 files
    -rw-r--r--  1 root  505  3146  4 15 17:15 Portfile.orig
    $ 
    $ diff -u Portfile.prev Portfile
    --- Portfile.prev   2021-07-08 00:48:48.000000000 +0900
    +++ Portfile    2021-07-16 17:00:31.000000000 +0900
    @@ -22,12 +22,12 @@
         long_description ${description}: \
                         Provides the development version, which is typically updated every day.
    
    -    # git describe --tags : Version-21.05.0-3-g8ab5e0ce8
    -    github.setup    wxmaxima-developers wxmaxima 8ab5e0ce85c8393869cfb4180ae8c9cab8e42a5c
    +    # git describe --tags : Version-21.05.2-30-g13ea2d87b
    +    github.setup    wxmaxima-developers wxmaxima 13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93
         checksums       rmd160  56f817d17ed0d9cdb239bd04bfe9169ec7fa6480 \
                         sha256  33941b0c90d9967c471f0279987884e8f8b061e43c4ef28917673509a70922b4 \
                         size    17783605
    -    version         21.05.0-dev-20210516
    +    version         21.05.2-dev-20210715
    
     #    set             worksrcpath ${workpath}/wxMaxima-developers-wxmaxima-0b58c02
         patchfiles      patch-src_Dirstructure.h.diff \
    $ 
    

    (3) Verify the checksum of wxMaxima-devel in order to get the correct checksum:

    $ sudo port -v checksum wxmaxima-devel
    --->  Fetching distfiles for wxMaxima-devel
       ...
       ...
    --->  Verifying checksums for wxMaxima-devel
    --->  Checksumming wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz
    Error: Checksum (rmd160) mismatch for wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz
    Portfile checksum: wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz rmd160 56f817d17ed0d9cdb239bd04bfe9169ec7fa6480
    Distfile checksum: wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz rmd160 cf1851acf47fae7ceb91fdbd2b06f7749c0c3068
    Error: Checksum (sha256) mismatch for wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz
    Portfile checksum: wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz sha256 33941b0c90d9967c471f0279987884e8f8b061e43c4ef28917673509a70922b4
    Distfile checksum: wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz sha256 730a0bdad0e75dbc41c3b7ca79a598075011344521f40c9612f2abfac097b5ce
    Error: Checksum (size) mismatch for wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz
    Portfile checksum: wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz size 17783605
    Distfile checksum: wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz size 17814029
    The correct checksum line may be:
    checksums           rmd160  cf1851acf47fae7ceb91fdbd2b06f7749c0c3068 \
                        sha256  730a0bdad0e75dbc41c3b7ca79a598075011344521f40c9612f2abfac097b5ce \
                        size    17814029
    Error: Failed to checksum wxMaxima-devel: Unable to verify file checksums
       ...
       ...
    $ 
    $ sudo port clean wxmaxima-devel
    --->  Cleaning wxMaxima-devel
    $ 
    

    (4) Edit the copy of the "Portfile" in order to make the checksum correct.
    And copy it to the wxMaxima directory of MacPorts:

    $ sudo cp -i ${HOME}/Downloads/Portfile ./
    overwrite ./Portfile? (y/n [n]) y
    $ 
    $ diff -u Portfile.prev Portfile
    --- Portfile.prev   2021-07-08 00:48:48.000000000 +0900
    +++ Portfile    2021-07-16 17:02:51.000000000 +0900
    @@ -22,12 +22,12 @@
         long_description ${description}: \
                         Provides the development version, which is typically updated every day.
    
    -    # git describe --tags : Version-21.05.0-3-g8ab5e0ce8
    -    github.setup    wxmaxima-developers wxmaxima 8ab5e0ce85c8393869cfb4180ae8c9cab8e42a5c
    -    checksums       rmd160  56f817d17ed0d9cdb239bd04bfe9169ec7fa6480 \
    -                    sha256  33941b0c90d9967c471f0279987884e8f8b061e43c4ef28917673509a70922b4 \
    -                    size    17783605
    -    version         21.05.0-dev-20210516
    +    # git describe --tags : Version-21.05.2-30-g13ea2d87b
    +    github.setup    wxmaxima-developers wxmaxima 13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93
    +    checksums       rmd160  cf1851acf47fae7ceb91fdbd2b06f7749c0c3068 \
    +                    sha256  730a0bdad0e75dbc41c3b7ca79a598075011344521f40c9612f2abfac097b5ce \
    +                    size    17814029
    +    version         21.05.2-dev-20210715
    
     #    set             worksrcpath ${workpath}/wxMaxima-developers-wxmaxima-0b58c02
         patchfiles      patch-src_Dirstructure.h.diff \
    $ 
    $ sudo port -v checksum wxmaxima-devel
    --->  Fetching distfiles for wxMaxima-devel
    --->  Verifying checksums for wxMaxima-devel
    --->  Checksumming wxmaxima-13ea2d87bc0aed1c93cedf4fd5aabbabb15b9e93.tar.gz
    $ 
    $ sudo port clean wxmaxima-devel
    --->  Cleaning wxMaxima-devel
    $ 
    $ cd $HOME
    

    (5) Check the "wxMaxima-devel" port:

    $ port info wxmaxima-devel
    wxMaxima-devel @21.05.2-dev-20210715_1 (math, aqua)
    Variants:             wx32
    
    Description:          Graphical user interface for Maxima based on wxWidgets:
                          Provides the development version, which is typically
                          updated every day.
    Homepage:             https://wxmaxima-developers.github.io/wxmaxima/
    
    Build Dependencies:   cmake
    Library Dependencies: wxWidgets-3.0
    Runtime Dependencies: maxima
    Conflicts with:       wxMaxima
    Platforms:            darwin
    License:              GPL-2
    Maintainers:          none
    $ 
    

    Then I think you can make a port-file of wxMaxima for yourself.

    By the way, the web-site of wxMaxima is https://wxmaxima-developers.github.io/wxmaxima/.
    So I think you should submit bug reports of wxMaxima to https://github.com/wxMaxima-developers/wxmaxima/issues.

    Thanks,

     

Log in to post a comment.