www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd

reply Alain De Vos <devosalain ymail.com> writes:
I want to install the DCD language server on Raspberry PI4.
But the dub build for DCD requires rdmd which is not available.
Can I compile rdmd from source ? Or install a binary ?
[PS: I have ldc 1:1.24.0-2 installed ]
May 21 2022
next sibling parent reply Adam D Ruppe <destructionator gmail.com> writes:
On Saturday, 21 May 2022 at 22:44:55 UTC, Alain De Vos wrote:
 Can I compile rdmd from source ?
Yes, rdmd is a trivial program. https://github.com/dlang/tools/blob/master/rdmd.d
May 21 2022
parent reply Alain De Vos <devosalain ymail.com> writes:
Thanks. rdmd.d compiled fine with ldc2.
But DCD did not build
dub build --build=release --config=client
produced the error:
msgpack-d-1.0.1 value.d error undefined identifier JSONType
May 21 2022
parent Alain De Vos <devosalain ymail.com> writes:
Maybe i need to install additional phobos libraries ?
May 21 2022
prev sibling parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 22/05/2022 10:44 AM, Alain De Vos wrote:
 I want to install the DCD language server on Raspberry PI4.
 But the dub build for DCD requires rdmd which is not available.
 Can I compile rdmd from source ? Or install a binary ?
 [PS: I have ldc 1:1.24.0-2 installed ]
I grabbed a copy of ldc2-1.24.0-linux-aarch64, it has rdmd. Something is messed up with that package if it does not include it (assuming it hasn't be split out into a tools package).
May 21 2022
parent 0xEAB <desisma heidel.beer> writes:
On Saturday, 21 May 2022 at 23:38:18 UTC, rikki cattermole wrote:
 […]
 I grabbed a copy of ldc2-1.24.0-linux-aarch64, it has rdmd.

 Something is messed up with that package if it does not include 
 it (assuming it hasn't be split out into a tools package).
iirc Debian & derivates do not package rdmd
May 21 2022