ugliest hack possible
Sep. 6th, 2004 01:42 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
(while running sml, working on the Compilers project, on my local gentoo box...)
- CM.make();
[starting dependency analysis]
[scanning sources.cm]
[checking CM/x86-unix/sources.cm.stable ... not usable]
[/var/tmp/portage/smlnj-110.0.7/work/bin/ml-lex tiger.lex]
sh: line 1: /var/tmp/portage/smlnj-110.0.7/work/bin/ml-lex: No such file or directory
!* CM error: ML-Lex failed: /var/tmp/portage/smlnj-110.0.7/work/bin/ml-lex tiger.lex
elrond root # cd /var/tmp/portage/smlnj-110.0.7/
elrond smlnj-110.0.7 # which ml-lex
/usr/bin/ml-lex
elrond smlnj-110.0.7 # ls
temp
elrond smlnj-110.0.7 # mkdir work
elrond smlnj-110.0.7 # cd work/
elrond work # ln -s /usr/bin bin
... and did it work? Oh yes. Yes it did.
- CM.make();
[starting dependency analysis]
[scanning sources.cm]
[checking CM/x86-unix/sources.cm.stable ... not usable]
[/var/tmp/portage/smlnj-110.0.7/work/bin/ml-lex tiger.lex]
sh: line 1: /var/tmp/portage/smlnj-110.0.7/work/bin/ml-lex: No such file or directory
!* CM error: ML-Lex failed: /var/tmp/portage/smlnj-110.0.7/work/bin/ml-lex tiger.lex
elrond root # cd /var/tmp/portage/smlnj-110.0.7/
elrond smlnj-110.0.7 # which ml-lex
/usr/bin/ml-lex
elrond smlnj-110.0.7 # ls
temp
elrond smlnj-110.0.7 # mkdir work
elrond smlnj-110.0.7 # cd work/
elrond work # ln -s /usr/bin bin
... and did it work? Oh yes. Yes it did.
no subject
Date: 2004-09-06 02:45 am (UTC)