I am trying to build vibed app of VPS. And I am getting error:
dmd failed with exit code 255
.
Here is full log:
Compiling source/app.d...
Compiling source/dbconnect.d...
Compiling source/draft/database/collection.d...
Compiling source/draft/database/database.d...
Compiling source/draft/database/package.d...
Compiling source/draft/database/storage.d...
Compiling source/globals.d...
Compiling source/parseconfig.d...
Compiling source/users.d...
Compiling source/variantconfig.d...
Compiling ../../../../root/.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/appmain.d...
Linking...
cc: No such file or directory
--- errorlevel 255`
google do not know nothing about this error
Do you have GCC installed on that VPS? As far as I remember, DMD uses the GCC linker under the scenes to do the linking. From the error message, it looks like it is not installed... Depending on the type of VPS (Debian based, Redhat, etc), you need to install GCC.
For Debian based distro, something like:
apt-get install build-essential
should get you going. Refer the documentation for your specific distro to install GCC if not on a Debian derivative.
Hope this helps...