Thread overview
rdmd Broken
Jan 14, 2015
Chuck Allison
Jan 14, 2015
John Colvin
Jan 14, 2015
Jacob Carlborg
Jan 14, 2015
Jacob Carlborg
January 14, 2015
Hi all,

I have no idea what happened, but rdmd gives me the strangest error:

/usr/local/bin/dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd.Failed:

I uninstalled dmd (using Jacob Carlsberg's uninstall shell script) and reinstalled 2.066 on Mac os x (yosemite) and this error persists. dmd works fine, but rdmd is bad.

Any ideas on what's wrong?

Thanks,

Chuck Allison
January 14, 2015
On Wednesday, 14 January 2015 at 01:18:11 UTC, Chuck Allison wrote:
> Hi all,
>
> I have no idea what happened, but rdmd gives me the strangest error:
>
> /usr/local/bin/dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd.Failed:
>
> I uninstalled dmd (using Jacob Carlsberg's uninstall shell script) and reinstalled 2.066 on Mac os x (yosemite) and this error persists. dmd works fine, but rdmd is bad.
>
> Any ideas on what's wrong?
>
> Thanks,
>
> Chuck Allison

These things are pretty much always caused by leftovers from previous installations or misconfigured dmd.conf

P.S. homebrew has up-to-date dmd etc.
January 14, 2015
On 2015-01-14 02:18, Chuck Allison wrote:
> Hi all,
>
> I have no idea what happened, but rdmd gives me the strangest error:
>
> /usr/local/bin/dmd: failed to launch executable at
> /Library/Compilers/dmd2/osx/bin/dmd.Failed:
>
> I uninstalled dmd (using Jacob Carlsberg's uninstall shell script) and
> reinstalled 2.066 on Mac os x (yosemite) and this error persists. dmd
> works fine, but rdmd is bad.

I don't recognize /Library/Compilers/dmd2 at all. It's not from a tool/script I have created. If you're referring to me :). How did you install it?

-- 
/Jacob Carlborg
January 14, 2015
On 2015-01-14 02:18, Chuck Allison wrote:
> Hi all,
>
> I have no idea what happened, but rdmd gives me the strangest error:
>
> /usr/local/bin/dmd: failed to launch executable at
> /Library/Compilers/dmd2/osx/bin/dmd.Failed:
>
> I uninstalled dmd (using Jacob Carlsberg's uninstall shell script) and
> reinstalled 2.066 on Mac os x (yosemite) and this error persists. dmd
> works fine, but rdmd is bad.

BTW, DVM [1] is a great tool for installing DMD on all platforms. It supports having multiple version installed at the same time. The you can easily switch between them.

[1] https://github.com/jacob-carlborg/dvm

-- 
/Jacob Carlborg