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
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.
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,
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
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.
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:
Terminal.app can use bash instead of zsh.
See: https://support.apple.com/en-us/HT208050
("copy_portfiles.sh" is written in bash)
Some helps of xattr:
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)
Open the "MacPorts-Maxima-5.45.1.dmg" file and follow the "ReadMe for Intel Mac.rtf" or "ReadMe for M1 Mac.rtf" file.
If MacPorts has already been installed, then enter the next command:
$ sudo port selfupdate; sh /Volumes/MacPorts-Maxima/copy_portfiles.sh
Thanks,
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:
(2) Copy the downloaded "Portfile" to the wxMaxima directory of MacPorts:
(3) Check the "wxMaxima-devel" port:
(4) If wxMaxima is installed and active, deactivate it:
(5) Install wxMaxima-devel:
Thanks,
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.
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.
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
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:
Related
Bugs: #3811
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:
Related
Bugs: #3811
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:
(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:
(3) Verify the checksum of wxMaxima-devel in order to get the correct checksum:
(4) Edit the copy of the "Portfile" in order to make the checksum correct.
And copy it to the wxMaxima directory of MacPorts:
(5) Check the "wxMaxima-devel" port:
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,