-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DC environment variable is not recognised #653
Comments
no mention of |
I managed to get it working by modifying the makefile though. |
What modifications did you perform inside the makefile? I'm having this same problem and I can't find any workaround |
Actually just minor changes: [I] pavels@Pavels-MacBook-Pro ~/D/g/DCD (master)> git diff (base)
diff --git a/makefile b/makefile
index 0adeb83..b8e1af9 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,6 @@
.PHONY: all
-all: dmd
+all: ldc
dmd: dmdserver dmdclient
debug: dmdclient debugserver
gdc: gdcserver gdcclient
@@ -8,13 +8,13 @@ ldc: ldcserver ldcclient
DMD := dmd
GDC := gdc
-LDC := ldc2
+LDC := ldc
DPARSE_DIR := libdparse
DSYMBOL_DIR := dsymbol
STDXALLOC_DIR := stdx-allocator
-SHELL:=/bin/bash
+SHELL:=/opt/homebrew/bin/fish
githash:
@mkdir -p bin
|
Well it did the trick for me as well, thank you! |
I am following README and got the same issue. user@debian:~/DCD$ DC=gdc make
git describe --tags > bin/githash.txt
mkdir -p bin
dmd common/src/dcd/common/socket.d common/src/dcd/common/messages.d common/src/dcd/common/dcd_version.d common/src/dcd/common/constants2.d common/src/dcd/common/constants.d src/dcd/server/server.d src/dcd/server/main.d src/dcd/server/autocomplete/util.d src/dcd/server/autocomplete/symbols.d src/dcd/server/autocomplete/package.d src/dcd/server/autocomplete/localuse.d src/dcd/server/autocomplete/doc.d src/dcd/server/autocomplete/complete.d dsymbol/src/dsymbol/utils.d dsymbol/src/dsymbol/ufcs.d dsymbol/src/dsymbol/type_lookup.d dsymbol/src/dsymbol/tests.d dsymbol/src/dsymbol/symbol.d dsymbol/src/dsymbol/string_interning.d dsymbol/src/dsymbol/semantic.d dsymbol/src/dsymbol/scope_.d dsymbol/src/dsymbol/modulecache.d dsymbol/src/dsymbol/import_.d dsymbol/src/dsymbol/deferred.d dsymbol/src/dsymbol/conversion/third.d dsymbol/src/dsymbol/conversion/second.d dsymbol/src/dsymbol/conversion/package.d dsymbol/src/dsymbol/conversion/first.d dsymbol/src/dsymbol/cache_entry.d dsymbol/src/dsymbol/builtin/symbols.d dsymbol/src/dsymbol/builtin/names.d libdparse/src/std/experimental/lexer.d libdparse/src/dparse/trivia.d libdparse/src/dparse/strings.d libdparse/src/dparse/stack_buffer.d libdparse/src/dparse/rollback_allocator.d libdparse/src/dparse/parser.d libdparse/src/dparse/lexer.d libdparse/src/dparse/formatter.d libdparse/src/dparse/entities.d libdparse/src/dparse/astprinter.d libdparse/src/dparse/ast.d containers/src/containers/unrolledlist.d containers/src/containers/ttree.d containers/src/containers/treemap.d containers/src/containers/slist.d containers/src/containers/simdset.d containers/src/containers/package.d containers/src/containers/openhashset.d containers/src/containers/internal/storage_type.d containers/src/containers/internal/node.d containers/src/containers/internal/mixins.d containers/src/containers/internal/hash.d containers/src/containers/internal/element_type.d containers/src/containers/internal/backwards.d containers/src/containers/immutablehashset.d containers/src/containers/hashset.d containers/src/containers/hashmap.d containers/src/containers/dynamicarray.d containers/src/containers/cyclicbuffer.d msgpack-d/src/msgpack/value.d msgpack-d/src/msgpack/unpacker.d msgpack-d/src/msgpack/streaming_unpacker.d msgpack-d/src/msgpack/register.d msgpack-d/src/msgpack/packer.d msgpack-d/src/msgpack/package.d msgpack-d/src/msgpack/exception.d msgpack-d/src/msgpack/common.d msgpack-d/src/msgpack/buffer.d msgpack-d/src/msgpack/attribute.d -Icontainers/src -Imsgpack-d/src -Ilibdparse/src -Idsymbol/src -Jbin -wi -O -release -inline -ofbin/dcd-server
/bin/bash: line 1: dmd: command not found
make: *** [makefile:119: dmdserver] Error 127
user@debian:~/DCD$ DC=ldc2 make
git describe --tags > bin/githash.txt
mkdir -p bin
dmd common/src/dcd/common/socket.d common/src/dcd/common/messages.d common/src/dcd/common/dcd_version.d common/src/dcd/common/constants2.d common/src/dcd/common/constants.d src/dcd/server/server.d src/dcd/server/main.d src/dcd/server/autocomplete/util.d src/dcd/server/autocomplete/symbols.d src/dcd/server/autocomplete/package.d src/dcd/server/autocomplete/localuse.d src/dcd/server/autocomplete/doc.d src/dcd/server/autocomplete/complete.d dsymbol/src/dsymbol/utils.d dsymbol/src/dsymbol/ufcs.d dsymbol/src/dsymbol/type_lookup.d dsymbol/src/dsymbol/tests.d dsymbol/src/dsymbol/symbol.d dsymbol/src/dsymbol/string_interning.d dsymbol/src/dsymbol/semantic.d dsymbol/src/dsymbol/scope_.d dsymbol/src/dsymbol/modulecache.d dsymbol/src/dsymbol/import_.d dsymbol/src/dsymbol/deferred.d dsymbol/src/dsymbol/conversion/third.d dsymbol/src/dsymbol/conversion/second.d dsymbol/src/dsymbol/conversion/package.d dsymbol/src/dsymbol/conversion/first.d dsymbol/src/dsymbol/cache_entry.d dsymbol/src/dsymbol/builtin/symbols.d dsymbol/src/dsymbol/builtin/names.d libdparse/src/std/experimental/lexer.d libdparse/src/dparse/trivia.d libdparse/src/dparse/strings.d libdparse/src/dparse/stack_buffer.d libdparse/src/dparse/rollback_allocator.d libdparse/src/dparse/parser.d libdparse/src/dparse/lexer.d libdparse/src/dparse/formatter.d libdparse/src/dparse/entities.d libdparse/src/dparse/astprinter.d libdparse/src/dparse/ast.d containers/src/containers/unrolledlist.d containers/src/containers/ttree.d containers/src/containers/treemap.d containers/src/containers/slist.d containers/src/containers/simdset.d containers/src/containers/package.d containers/src/containers/openhashset.d containers/src/containers/internal/storage_type.d containers/src/containers/internal/node.d containers/src/containers/internal/mixins.d containers/src/containers/internal/hash.d containers/src/containers/internal/element_type.d containers/src/containers/internal/backwards.d containers/src/containers/immutablehashset.d containers/src/containers/hashset.d containers/src/containers/hashmap.d containers/src/containers/dynamicarray.d containers/src/containers/cyclicbuffer.d msgpack-d/src/msgpack/value.d msgpack-d/src/msgpack/unpacker.d msgpack-d/src/msgpack/streaming_unpacker.d msgpack-d/src/msgpack/register.d msgpack-d/src/msgpack/packer.d msgpack-d/src/msgpack/package.d msgpack-d/src/msgpack/exception.d msgpack-d/src/msgpack/common.d msgpack-d/src/msgpack/buffer.d msgpack-d/src/msgpack/attribute.d -Icontainers/src -Imsgpack-d/src -Ilibdparse/src -Idsymbol/src -Jbin -wi -O -release -inline -ofbin/dcd-server
/bin/bash: line 1: dmd: command not found
make: *** [makefile:119: dmdserver] Error 127
user@debian:~/DCD$
|
|
try updating DUB, there was an issue in there a few versions ago that fixed this |
I have my shell env var set to
but
make
still attempts to usedmd
.The text was updated successfully, but these errors were encountered: