Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSML Installer installs in wrong directory #33

Open
chrene opened this issue Mar 17, 2015 · 6 comments
Open

MOSML Installer installs in wrong directory #33

chrene opened this issue Mar 17, 2015 · 6 comments
Assignees

Comments

@chrene
Copy link

chrene commented Mar 17, 2015

The mosml installer (pkg) installs its files in a directory (/usr/local), which is used for Homebrew. This needs to be changed, so brew doctor doesn't complain about unexpected header files and to avoid possible problems with other software.

Please use /usr instead.

@kfl kfl self-assigned this Mar 18, 2015
@FranklinChen
Copy link

It would be nice to add a Homebrew formula. I presume it would be very simple, at least from head, where it looks like probably something like the following should work, given the directory structure of installation:

def install
  system "make PREFIX=#{prefix} world"
  system "make PREFIX=#{prefix} install"
end

@kfl
Copy link
Owner

kfl commented Jun 24, 2015

The recommended way to install Moscow ML on a system using Homebrew is to use the formula in the gist https://gist.github.com/kfl/136b155cc459687875d1. Alas, I cannot easily get this formula into Homebrew, because formula from upstream is frowned upon (as I understand the homebrew policy).

That is, use the command:

$ brew install https://gist.githubusercontent.com/kfl/136b155cc459687875d1/raw/05d86a0b2a9a2a33ba20c154a170a3c1c7830a60/mosml.rb

@FranklinChen
Copy link

I will submit the formula myself.

I was surprised to learn that Moscow ML still existed. I used it on Mac and Linux back in the mid-1990s when I was doing a lot of programming in ML (both Caml and SML) and even ported it to Mac in the early days: http://computer-programming-forum.com/23-functional/d8b505b9c395ec63.htm

@FranklinChen
Copy link

I have contributed a Homebrew formula, so you can mention that as an installation option for Mac OS X.

@Munksgaard
Copy link
Contributor

Nice! 👍

@FranklinChen
Copy link

For amusement, I put up a personal project repo imported from an RCS project of 1996 https://github.com/FranklinChen/schreiner-friedman-pretty-printer that is possibly my oldest Moscow ML code. It compiled with no modification required after 19 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants