March 14, 2016
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@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@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@ubuntu:/opt/xcomm#

It is very urgent for me to install the project , I hope will do with your help .
Thanks.
March 14, 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@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@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@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.
March 14, 2016
On 03/14/2016 10:08 AM, Marc Schütz wrote:

> 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.

Apparently, gdmd expects gdc to be in the same directory as itself. Once Orkhan finds out where gdc is on the system, the following should work:

$ sudo ln -s /home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc /usr/local/bin/gdc

Orkhan, replace /home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc with the gdc binary that you have. e.g. if it's under /usr/bin, then do the following:

$ sudo ln -s /usr/bin/gdc /usr/local/bin/gdc

Ali

P.S. I've just installed gdc after downloading it from its download site ( http://gdcproject.org/downloads ) with the following two commands:

  unxz the_file_you_downloaded
  tar xvf the_file_you_unxzipped

Those commands created the following directory in my case.

  /home/acehreli/x86_64-pc-linux-gnu

That's why my gdc is named /home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc above.

March 15, 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@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@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@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@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@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# sudo ln -s `which gdc` /usr/local/bin/gdc
root@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.
March 15, 2016
On Monday, 14 March 2016 at 18:13:33 UTC, Ali Çehreli wrote:
> On 03/14/2016 10:08 AM, Marc Schütz wrote:
>
> > 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.
>
> Apparently, gdmd expects gdc to be in the same directory as itself. Once Orkhan finds out where gdc is on the system, the following should work:
>
> $ sudo ln -s /home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc /usr/local/bin/gdc
>
> Orkhan, replace /home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc with the gdc binary that you have. e.g. if it's under /usr/bin, then do the following:
>
> $ sudo ln -s /usr/bin/gdc /usr/local/bin/gdc
>
> Ali
>
> P.S. I've just installed gdc after downloading it from its download site ( http://gdcproject.org/downloads ) with the following two commands:
>
>   unxz the_file_you_downloaded
>   tar xvf the_file_you_unxzipped
>
> Those commands created the following directory in my case.
>
>   /home/acehreli/x86_64-pc-linux-gnu
>
> That's why my gdc is named /home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc above.

After Marc's message I created symbolic link and now it is in the usr/local/bin .
please look  the output :

root@ubuntu:/opt/xcomm# cd /usr/local/bin
root@ubuntu:/usr/local/bin# ls
ddemangle  dman  dmd  dmd.conf  dumpobj  gdc  gdmd  obj2asm  rdmd

You see there is gdc after the command : sudo ln -s /usr/bin/gdc /usr/local/bin/gdc

still when I run command Make it returns the same error.

could you please test the make file as well if you already installed the gdc and gdmd . I have put the link it is not too big , I just need the xcomm being installed .

Kind Regards

March 15, 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:
>> [...]
>
> 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.

I am sorry for multiple message , the output of the which gdc is :

root@ubuntu:/usr/local/bin# which gdc
/usr/local/bin/gdc

Actually it is because I created symbolic link I guess.
March 15, 2016
On 03/15/2016 02:45 AM, Orkhan wrote:
> output of the gdc is  :
>
> root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# gdc
> gdc: fatal error: no input files
> compilation terminated.

That makes sense. It should produce an executable if you give it a .d file:

  gdc foo.d

Since you installed gdmd as well, you can get back to the Xcom server files. Have you tried building it now? If that still fails, please open another thread because I don't think I can help you any further with that project and I don't think anybody else is following this thread. :)

Ali

March 16, 2016
On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote:
> On 03/15/2016 02:45 AM, Orkhan wrote:
> > output of the gdc is  :
> >
> > root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# gdc
> > gdc: fatal error: no input files
> > compilation terminated.
>
> That makes sense. It should produce an executable if you give it a .d file:
>
>   gdc foo.d
>
> Since you installed gdmd as well, you can get back to the Xcom server files. Have you tried building it now? If that still fails, please open another thread because I don't think I can help you any further with that project and I don't think anybody else is following this thread. :)
>
> Ali

Dear Ali ,
I am still getting the same error although I installed gdc and gdmd . The command run giving output like below :

root@ubuntu:/opt/xcomm# make
dmd -O -inline -Isrc -version=daemon -op -of./xcomm src/misc_util.d src/socket_base.d src/xcomm_sockets.d src/msgserver_core.d src/char_outbuffer.d src/logging.d src/xml_util.d src/plugins.d src/xcomm_protocol/*.d src/stork/*.d src/stork/*/*.d -fPIC -q,-rdynamic -L-ldl
Error: unrecognized switch '-q,-rdynamic'
Makefile:35: recipe for target 'protocol-daemon' failed
make: *** [protocol-daemon] Error 1


I don't know where from shpuld I get help. Thanks.
March 16, 2016
On Wednesday, 16 March 2016 at 12:17:42 UTC, Orkhan wrote:
> On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote:
>
> I don't know where from shpuld I get help. Thanks.

Is the xcomm library available somewhere, maybe if we had a link to the original documentation we could help.

March 16, 2016
On Wednesday, 16 March 2016 at 12:20:32 UTC, Edwin van Leeuwen wrote:
> On Wednesday, 16 March 2016 at 12:17:42 UTC, Orkhan wrote:
>> On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote:
>>
>> I don't know where from shpuld I get help. Thanks.
>
> Is the xcomm library available somewhere, maybe if we had a link to the original documentation we could help.

thanks for your answer. the original unpacked project is in the link below :

http://www.speedyshare.com/6y4Tv/47d2b57d/xcom.zip

you can find the installation inside of the doc file . that is the only source of the project. In general it should not be difficult but I can not understand why it makes a problem . It is so important for me . .
1 2
Next ›   Last »