Thread overview
Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.
May 21, 2022
Alain De Vos
May 21, 2022
Adam D Ruppe
May 21, 2022
Alain De Vos
May 21, 2022
Alain De Vos
May 21, 2022
rikki cattermole
May 22, 2022
0xEAB
May 21, 2022

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
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
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
Maybe i need to install additional phobos libraries ?
May 22, 2022
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 22, 2022
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