Sunday, February 2, 2025

Installing MacPorts on M4 MacBook Pro, Installing nedit and GFortran and TeXworks in MacPorts in MacOS Sequoia 15.3

 Installing GFortran in MacPorts after Upgrading MacOS Ventura to MacOS Sequoia 15.3.   I took the advice of MacPorts.org and deleted all traces of MacPorts on my M4 laptop once I transferred files from my 2018-vintage Intel-based MacBook Pro.  Installing MacPorts from scratch was not difficult, but starting to install familiar software packages has some interesting quirks.  

Installing my favorite visual test editor nedit was a chore, as it usually is for such legacy software.  The installation first hung on a flawed download of the lzip software package.  I needed to Google and to otherwise comb the MacPorts support site to find a suggested fix for installing lzip.  But I found a solution from someone who had preceded me.  Once I could get past the first few seconds of the nedit install, the process took a long long long time and seemed to involve the download and compilation of several versions of Python (3.10 and 3.12).  All this was necessary for a simple convenient editor to use.  Unlike the current version on the Intel-Macs, this version of nedit seems to load very quickly.  Maybe something got fixed since I installed nedit on the M3 iMac in my office.

Installing gfortran via MacPorts is proceeding apace as I write this.  I am using the same commands I ran a week ago in my Sequoia upgrade on my Intel MacBook Pro.  There is a lot of compiling going on.  The final result seems to compile my codes well.  I have recompiled the utility codes in jlib.a, plotit.a and eislib.a.  

One last upgrade was to by LaTex equation-formatting software.  I have been very happy with TeXworks for processing manuscripts and lecture notes, but attempts to compile a version of TeXworks on my M4 laptop with either software downloaded from the TeXworks website or from MacPorts has failed.  The website suggests that, as of February 1, 2025, there is a MacOS Sequoia build for TexWorks on Intel Macs, but not for Apple Silicon.  At the same time the TeXworks page suggested that an Apple Silicon build of their software was available for MacOS Sonoma.   This triggered me to look on my M3 iMac for a working version of TeXworks, because the iMac is running MacOS Sonoma.  I had not noticed any glitches when I bought my M3 iMac last May, and indeed the app was working fine on my iMac.  I copied the TeXworks app into iCloud, transferred the copy to my MacOS Sequoia MacBook Pro, and it ran fine once I deleted the MacPorts version of the app.  There is ALSO a subdirectory of my Applications folder named "Tex" that dates from prior to the pandemic and occupies 121 Mb, including yet another version of the TeXworks app.  This legacy app seems to be software that I can delete.





No comments:

 
Link