ugliest hack possible
(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
no subject
(no subject)
(no subject)
no subject
(no subject)
(no subject)
It's not ugly at all...
"Live from the People's Republic"