Alex
—Jan 09, 2023
Is Miranda a dead language? Who knows, but I have to use it for my university module!
Everything needs to be recompiled to run natively on the new Apple Silicon chips, but Apple released Rosetta 2 which should theoretically be able to emulate Intel hardware to bridge the gap. Unfortunately, this didn't seem to work for Miranda.
Miranda only got 64-bit support in January 2020 so it's not surprising that they don't support Apple Silicon yet (in fact they still support Power PC which was the chip technology used before intel that Rosetta 1 was built for in 2006!)
Luckily they also released the source code for Miranda in 2020 so, thanks to the wonderous longevity of C, we can just compile it from source.
First, visit the downloads page and click the link that says version 2.066
(I couldn't get this link to work in Chrome for some reason, so if you're struggling try Safari).
Open up the README and you'll find some instructions.
To test whether the build is going to work, run these commands in the shell
make cleanupmake./mira
You should see something like this
T h e M i r a n d a S y s t e mversion 2.066 last revised 31 January 2020Copyright Research Software Ltd 1985-2020World Wide Web: http://miranda.org.uknew file script.mfor help type /hMiranda
If this step failed then something is up with make
.
Firstly, is it installed? Relevant StackOverflow
Beyond that? Google it!
The next part of the README says to run make install
. This will likely throw an error complaining that you don't have permissions to copy a file to /usr/bin/mira
.
My friend Tiago figured out to tweak the Makefile so the executable is installed to /usr/local/bin
.
## Oldall: mira miralib/menudriver exfiles#install paths relative to /#for linux, MacOS X, Cygwin:BIN=usr/binLIB=usr/lib#beware no spaces after LIBMAN=usr/share/man/man1...
## Newall: mira miralib/menudriver exfiles#install paths relative to /#for linux, MacOS X, Cygwin:BIN=usr/local/binLIB=usr/local/lib#beware no spaces after LIBMAN=usr/local/share/man/man1...
Then run
make install
Reopen your terminal and run
mira
And you should see the same startup screen from earlier!