Why am I getting this annoying error??
Here is a very simple session with DUB:
dejan@BMLL-pc:~/work/desktopfile$ dmd --version
DMD64 D Compiler v2.067.1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
dejan@BMLL-pc:~/work/desktopfile$ dub build
Error executing command build:
Failed to invoke the compiler dmd to determine the build platform: spawnProcess(): Failed to execute program: Permission denied
dejan@BMLL-pc:~/work/desktopfile$ dub list
Packages present in the system and known to dub:
desktopfile ~master: /home/dejan/work/desktopfile/
desktopfile:desktoputil ~master: /home/dejan/work/desktopfile/
desktopfile:desktoptest ~master: /home/dejan/work/desktopfile/
Looks like dub fetch
works too:
dejan@BMLL-pc:~/work/desktopfile$ dub fetch desktopfile
Fetching desktopfile 0.2.2...
Placing desktopfile 0.2.2 to /home/dejan/.dub/packages/...
Please note that you need to use `dub run <pkgname>` or add it to dependencies of your package to actually use/run it. dub does not do actual installation of packages outside of its own ecosystem.
It is a Ubuntu 15 box, 64bit. DMD works fine - I easily compile stuff manually.