Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
208 stars 49 forks source link

Build errors #117

Closed emi2k01 closed 3 years ago

emi2k01 commented 3 years ago

Branch: master

DMD64 D Compiler v2.095.0

DUB version 1.23.0, built on Oct 8 2020

## Warning for package serve-d, configuration unittest-optimized ##

The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass custom flags
to the compiler, or use one of the suggestions below:

debugInfo: Call DUB with --build=debug
optimize: Call DUB with --build=release
unittests: Call DUB with --build=unittest

Selected package vibe-d 0.9.3 does not match the dependency specification >=0.7.30 <=0.9.0 (optional) in package dub. Need to "dub upgrade"?
Selected package vibe-d 0.9.3 does not match the dependency specification >=0.7.30 <=0.9.0 (optional) in package dub. Need to "dub upgrade"?
Invalid source/import path: /home/emi2k01/.dub/packages/dfmt-0.13.0/dfmt/bin
Running pre-generate commands for dfmt...
/bin/sh: line 1: rdmd: command not found
Command failed with exit code 127: rdmd "/home/emi2k01/.dub/packages/dfmt-0.13.0/dfmt/dubhash.d"
emi2k01 commented 3 years ago

My bad.

I thought the error was caused by Selected package vibe-d 0.9.3 does not match... but it seems to just be a warning.

I had to install dtools but that is not mentioned in the README.

WebFreak001 commented 3 years ago

/bin/sh: line 1: rdmd: command not found Command failed with exit code 127: rdmd "/home/emi2k01/.dub/packages/dfmt-0.13.0/dfmt/dubhash.d"

The error was rdmd not being installed but was used as a dependency from dfmt, how did you install dmd? It normally comes with dmd.

emi2k01 commented 3 years ago

My bad. I installed the dmd package from the AUR but the correct one is dlang that includes dmd and other tools.