Sunday 20 January 2013

Setting up D v2.061 on OSX (Mountain Lion)... rdmd not installing.

I've recently been playing with the D language on my MacBook and found the latest dmg (v 2.061) from: http://dlang.org/download.html did not install rdmd or the D shell.

The sollution to this was to download the "all platforms" zip file, from the D downloads page, then following the guide here: http://dlang.org/dmd-osx.html

Once this is done you can use the #!/usr/local/bin/rdmd shebang at the top of your .d files.
Note: this differs slightly from the one used in the tutorials at : http://www.informit.com/articles/article.aspx?p=1381876 (which uses #!/use/bin/rdmd)

This may have just been a problem specific to my particular system and/or setup, I'm not sure... But if not I hope this helps someone.

No comments:

Post a Comment