dmd: failed to launch executable

2015-09-18 Thread Rinzler via Digitalmars-d
I had installed `dmd` using `brew` some time ago, and now I was trying to use `dmd` again, but I keep getting the following error: `dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd`. Even after doing `brew uninstall dmd` and `brew uninstall dub`, I keep getting the

Re: dmd: failed to launch executable

2015-09-18 Thread John Colvin via Digitalmars-d
On Friday, 18 September 2015 at 15:07:52 UTC, Rinzler wrote: I had installed `dmd` using `brew` some time ago, and now I was trying to use `dmd` again, but I keep getting the following error: `dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd`. Even after doing `brew

Re: dmd: failed to launch executable

2015-09-19 Thread Rinzler via Digitalmars-d
what does "which dmd" give you? Nothing...

Re: dmd: failed to launch executable

2015-09-19 Thread Jacob Carlborg via Digitalmars-d
On 2015-09-19 12:05, Rinzler wrote: what does "which dmd" give you? Nothing... And "type dmd | head -n 1"? If that gives you some kind of path, what does then "file " print? -- /Jacob Carlborg

Re: dmd: failed to launch executable

2015-09-19 Thread Rinzler via Digitalmars-d
On Saturday, 19 September 2015 at 10:17:21 UTC, Jacob Carlborg wrote: On 2015-09-19 12:05, Rinzler wrote: what does "which dmd" give you? Nothing... And "type dmd | head -n 1"? If that gives you some kind of path, what does then "file " print? I don't even have a tool called "type"? Shoul

Re: dmd: failed to launch executable

2015-09-19 Thread Laeeth Isharc via Digitalmars-d
On Saturday, 19 September 2015 at 10:21:30 UTC, Rinzler wrote: On Saturday, 19 September 2015 at 10:17:21 UTC, Jacob Carlborg wrote: On 2015-09-19 12:05, Rinzler wrote: what does "which dmd" give you? Nothing... And "type dmd | head -n 1"? If that gives you some kind of path, what does the

Re: dmd: failed to launch executable

2015-09-19 Thread Rinzler via Digitalmars-d
On Saturday, 19 September 2015 at 15:32:33 UTC, Laeeth Isharc wrote: On Saturday, 19 September 2015 at 10:21:30 UTC, Rinzler wrote: On Saturday, 19 September 2015 at 10:17:21 UTC, Jacob Carlborg wrote: On 2015-09-19 12:05, Rinzler wrote: what does "which dmd" give you? Nothing... And "type

Re: dmd: failed to launch executable

2015-09-19 Thread John Colvin via Digitalmars-d
On Saturday, 19 September 2015 at 15:46:32 UTC, Rinzler wrote: On Saturday, 19 September 2015 at 15:32:33 UTC, Laeeth Isharc wrote: On Saturday, 19 September 2015 at 10:21:30 UTC, Rinzler wrote: On Saturday, 19 September 2015 at 10:17:21 UTC, Jacob Carlborg wrote: On 2015-09-19 12:05, Rinzler

Re: dmd: failed to launch executable

2015-09-19 Thread Laeeth Isharc via Digitalmars-d
use `dmd` again, but I keep getting the following error: `dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd`. Even after doing `brew uninstall dmd` and `brew uninstall dub`, I keep getting the same error. I had already had some problems of linking when I first tried

Re: dmd: failed to launch executable

2015-09-19 Thread Rinzler via Digitalmars-d
Quick point about paths and so on: if you don't understand what's going on, or have just made a change and want to be sure whether it worked, always open a new terminal session and try again. There are caches that can need emptying, environment variables that get inadvertently set etc. I can't

Re: dmd: failed to launch executable

2015-09-19 Thread Rinzler via Digitalmars-d
talled `dmd` using `brew` some time ago, and now I was trying to use `dmd` again, but I keep getting the following error: `dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd`. Even after doing `brew uninstall dmd` and `brew uninstall dub`, I keep getting the same error.

Re: dmd: failed to launch executable

2015-09-19 Thread John Colvin via Digitalmars-d
On Saturday, 19 September 2015 at 16:44:38 UTC, Rinzler wrote: Quick point about paths and so on: if you don't understand what's going on, or have just made a change and want to be sure whether it worked, always open a new terminal session and try again. There are caches that can need emptying,

Re: dmd: failed to launch executable

2015-09-19 Thread Rinzler via Digitalmars-d
On Saturday, 19 September 2015 at 17:44:22 UTC, John Colvin wrote: On Saturday, 19 September 2015 at 16:44:38 UTC, Rinzler wrote: Quick point about paths and so on: if you don't understand what's going on, or have just made a change and want to be sure whether it worked, always open a new termi

Re: dmd: failed to launch executable

2015-09-19 Thread Jacob Carlborg via Digitalmars-d
On 2015-09-19 17:32, Laeeth Isharc wrote: He means type ie enter the following line in the console: dmd | head -n 1 No, "type" is a command, a shell builtin, that's why it was inside the quotes. $ type type type is a shell builtin -- /Jacob Carlborg

Re: dmd: failed to launch executable

2015-09-19 Thread Jacob Carlborg via Digitalmars-d
On 2015-09-19 12:21, Rinzler wrote: I don't even have a tool called "type"? Should I install it just for testing this? What? "type" is a shell builtin. -- /Jacob Carlborg