Gdmd compiling error
Marc Schütz via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Mar 14 10:08:24 PDT 2016
On Monday, 14 March 2016 at 14:46:06 UTC, Orkhan wrote:
> On Monday, 14 March 2016 at 11:11:28 UTC, Ali Çehreli wrote:
>> On 03/14/2016 02:56 AM, Orkhan wrote:
>>
>> > THe output like that :
>> > root at ubuntu:/opt/xcomm# gdmd
>> > Can't exec "/usr/local/bin/gdc": No such file or directory at
>>
>> Ok, now you need to install gdc:
>>
>> http://gdcproject.org/downloads
>>
>> In short, the project that you are trying to build depends on
>> gdmd, which is a dmd-like interface to gdc, which needs to be
>> installed on your system.
>>
>> Ali
>
> Dear Ali ,
> Thanks for your answer and time.
> I have tried to install and the output was like that. I gues it
> is already installed in my linux. isnt it ?
>
> root at ubuntu:/opt/xcomm# sudo apt-get install gdc
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> gdc is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 180 not upgraded.
> root at ubuntu:/opt/xcomm#
>
> It is very urgent for me to install the project , I hope will
> do with your help .
> Thanks.
What does `which gdc` print? If it says something like "which: no
gdc in ...", there is a problem with the installation of GDC.
Otherwise, you can use the following as a quick workaround:
sudo ln -s `which gdc` /usr/local/bin/gdc
The proper solution is to find out why gdmd insists on using that
non-existing path instead of relying on $PATH lookup, and fix it.
More information about the Digitalmars-d-learn
mailing list