alexr_rwx: (my fandom writes your software)
Alex R ([personal profile] alexr_rwx) wrote2004-09-06 01:42 am

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.

[identity profile] neuroticmonk.livejournal.com 2004-09-06 02:45 am (UTC)(link)
Brilliant! You so totally win! :-D

[identity profile] xphilega.livejournal.com 2004-09-06 08:16 am (UTC)(link)
so... what did you do?
ext_110843: (my fandom writes your software)

[identity profile] oniugnip.livejournal.com 2004-09-06 10:06 am (UTC)(link)
Waal, the default installation of this thing smlnj (it's a programming language) on Gentoo Linux is very broken, and it expects to find things in a directory that doesn't exist... so what I did was make that directory be there, and be a link into a directory that does exist, where the things it wants to find actually are. Just sort of in a jury-rig sort of fashion... (earlier futzing had involved changing its other unreasonable expectations manually...)

... the life of the CS student is an exciting one indeed.

[identity profile] xphilega.livejournal.com 2004-09-06 11:22 am (UTC)(link)
:) :) :) All Greek to me, but impressive, nonetheless. :)
lindseykuper: Photo of me outside. (Default)

[personal profile] lindseykuper 2004-09-06 05:43 pm (UTC)(link)
I think the geekiest part is that your computer is named "elrond". =)
ext_110843: (toasters)

[identity profile] oniugnip.livejournal.com 2004-09-06 06:03 pm (UTC)(link)
*laughs* Perhaps geekier than that is that the other two are named celeborn and eowyn...
ext_110843: (jumping)

[identity profile] oniugnip.livejournal.com 2004-09-06 06:04 pm (UTC)(link)
... so what're your machines called? Do you have a particular naming scheme?

It's not ugly at all...

[identity profile] reality-calls.livejournal.com 2004-09-07 10:27 pm (UTC)(link)
...just unorthodox.  Personally I think it represents the true beauty of what can occur when the freedom of a linux box meets a brilliant and innovative CS major.  This is computing the way it was meant to be!

      "Live from the People's Republic"