standardml / smackage

Smackage Package Manager for Standard ML
Other
122 stars 12 forks source link

Does this work in Windows? #3

Closed robsimmons closed 13 years ago

robsimmons commented 13 years ago

We should check.

robsimmons commented 13 years ago

Windows is completely and utterly terrible, by the way. Currently we're crashing somewhere around initialization, and I don't think requiring "cp" is going to be an option, because "sml" and "git" live in WindowsLand and "cp" lives in CygwinLand and only when very confused the twain shall meet.

robsimmons commented 13 years ago

So this seems to work in Windows IF you have cygwin's smlnj and cygwin's git. So that's something; Rowan, could you say a thing about what was necessary to get smlnj to work in cygwin?

rowandavies commented 13 years ago

I basically installed smlnj on cygwin the way the instructions said at:

  http://smlnj.cs.uchicago.edu/dist/working/110.73/NOTES/CYGWININSTALL

The first complication was having the non-cygwin smlnj on my path. (Easily fixed.)

The second complication was that the automatic script couldn't find any of the files it needed. This made sense when I didn't have wget installed, but it still seemed to look in the wrong place even when I forced it to use wget. So, instead the SML/NJ install script stopped at least half a dozen times, asking me to download a file and then restart the script each time.

You could avoid this by just downloading them all at once at the start:

MLRISC.tgz cml.tgz ml-lpt.tgz runtime.tgz trace-debug-profile.tgz boot.x86-unix.tgz ml-lex.tgz ml-yacc.tgz smlnj-lib.tgz

You can get these from (e.g.): http://smlnj.cs.uchicago.edu/dist/working/110.73/

gian commented 13 years ago

... and so did smackage work? :)

rowandavies commented 13 years ago

Yeah, it worked first time once I had smlnj and git installed.

robsimmons commented 13 years ago

If it works on Karl's computer I'll close the issue.

gian commented 13 years ago

Perhaps we should make a point of periodically re-testing Windows support, given that as I understand it, none of the developers of smackage use Windows as a desktop environment?

robsimmons commented 13 years ago

I need to get windows running in a VM anyway.

This works on Windows (had a fun session with Karl), but "cp" doesn't work correctly so it's not quite working yet. I'll open up another issue for cp since it also doesn't work on my computer.