www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - rdmd Broken

reply "Chuck Allison" <chuck freshsources.com> writes:
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
Jan 13 2015
next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
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.
Jan 14 2015
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
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
Jan 14 2015
prev sibling parent Jacob Carlborg <doob me.com> writes:
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
Jan 14 2015