May 11, 2009 Re: dmd on ubuntu installation | ||||
---|---|---|---|---|
| ||||
Posted in reply to grauzone | On Sun, May 10, 2009 at 10:17 PM, grauzone <none@example.net> wrote:
> The files are probably not readable (r) or executable (x) by all other users
> (o). Try "chmod o+rx /usr/local/bin/dmd".
Of course, prepend 'sudo' :|
|
May 11, 2009 Re: dmd on ubuntu installation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jarrett Billingsley | Jarrett Billingsley Wrote:
> On Sun, May 10, 2009 at 10:17 PM, grauzone <none@example.net> wrote:
>
> > The files are probably not readable (r) or executable (x) by all other users
> > (o). Try "chmod o+rx /usr/local/bin/dmd".
>
> Of course, prepend 'sudo' :|
That worked.
Thanks for everyone's help. :)
|
May 11, 2009 Re: dmd on ubuntu installation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael P. | On Sun, 10 May 2009 20:23:52 -0400, Michael P. wrote:
> Jesse Phillips Wrote:
>>
>> As for doing this by hand. The two directories you are interested in are src/ and linux/ the others are just manuals and other operating systems.
>>
>> copy the files found in linux/ to /usr/local/
>>
>> copy src/phobos to /usr/local/include/
>>
>> With this you'd need to edit dmd.conf to look more like this
>>
>> $ vim /usr/local/bin/dmd.conf
>>
>> [Environment]
>>
>> DFLAGS=-I/usr/local/include/phobos -L-L/usr/local/lib
>
> Okay, so this is what I tried to do.
> But when I type dmd in the terminal, I get this:
>
> michael@ubuntu:~$ dmd
> bash: /usr/local/bin/dmd: Permission denied michael@ubuntu:~$
>
> Do you know why?
Thank you for letting me know, hopefully the script has been fixed.
FYI, you can install version 2 side-by-side and use dmd-switch.sh to change which will be executed. You should be able to do the same with Tango and Phobos if you use install-tango.sh
|
Copyright © 1999-2021 by the D Language Foundation