Gdmd compiling error

Orkhan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 15 02:45:17 PDT 2016


On Monday, 14 March 2016 at 17:08:24 UTC, Marc Schütz wrote:
> 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.

output of the gdc is  :

root at ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# gdc
gdc: fatal error: no input files
compilation terminated.

the output of the  - sudo ln -s `which gdc` /usr/local/bin/gdc :
root at ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# sudo ln -s 
`which gdc` /usr/local/bin/gdc
root at ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu#

if you have already installed the gdmd could you please try to 
compile make file which I put a download link in my previous 
posts.

Thanks.


More information about the Digitalmars-d-learn mailing list