dmd on ubuntu installation
Jesse Phillips
jessekphillips at gmail.com
Mon May 11 08:40:57 PDT 2009
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 at ubuntu:~$ dmd
> bash: /usr/local/bin/dmd: Permission denied michael at 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
More information about the Digitalmars-d-learn
mailing list