|
The mosml package from Peter Sestofts homepage does not compile at all on 64 bit Linux and under certain circumstances not on 32 bit either. In the past there was a mosml-pakke in the Ubuntu packaging system, but it has been removed. How do get mosml running on my machine? |
|
Update: As part of the preparations for this years course in Introduction to Programming, Moscow ML 2.10 has been released: http://mosml.org. My answer has been updated to reflect the changes. The comments below should also be disregarded, as they don't apply any more. Furthermore, a binary package for Ubuntu 13.04 has been compiled, and is available through my personal Launchpad PPA. To install it, run:
As I have understood, binary packages for Windows and Mac will also be provided, and I will update this answer as they become available. A windows installer that also includes Emacs and SML-mode can be acquired from Sebbe's webpage here: http://mathemaniac.org/apps/ip-pakken/ Though not necessary, it is also possible to compile Moscow ML yourself (assuming that you have installed the build-essential package on Ubuntu, or the equivalent packages on other distributions) by first checking out the source:
Then set the variable MOSMLHOME in the file Makefile.inc. It could look like one of the following:
Finally compile and install it by running
Note, this is 2.10 and not 2.01. 2.10 has changed some things in the basis library, such as changing type on Be aware, that you will need git and the package build-essential for this to work.To be sure you have the right tools |