Linux installation, even worse: search path for libphobos.a

Norbert Nemec Norbert at Nemec-online.de
Sun Apr 23 08:09:07 PDT 2006


Thomas Kuehne wrote:
> Norbert Nemec schrieb am 2006-04-23:
>>> Just after complaining about dmd.conf, I noticed that libphobos.a is
>>> also expected in the fixed location: /usr/lib/libphobos.a
>>>
>>> I guess there is a way to configure this path (in dmd.conf?) which
>>> should definitely be described on the installation web-page.
>>>
>>> Currently, a user without root access is completely out of luck in
>>> trying out D on a Linux system.
> 
> cd /some/path/you/like
> unzip dmd.zip
> chmod guo=rx dmd/bin/dmd
> 
> And put the following shell script somewhere in your path
> 
> #!/bin/bash
> A=/some/path/you/like
> $A/bin/dmd -I$A/src/phobos -L-L$A/lib $* 

OK, that's indeed a workaround. This, or an alternative solution should
be mentioned on the official D page with installation instructions.



More information about the Digitalmars-d mailing list