On Sun, 09 Jun 2013 11:43:20 GMT, maarten wrote:
Funny, I get the same errors when compiling vibe using dub.
I'm on arch linux, using dub-git and dmd 2.063.
The errors I'm getting are :
../../../../.dub/packages/vibe-d-0.7.15/source/vibe/vpm/installation.d(35): Warning: const field with initializer should be static, gshared, or an enum<br>../../../../.dub/packages/vibe-d-0.7.15/source/vibe/core/file.d(60): Warning: explicit element-wise assignment templ[16LU..dollar - 1LU] = (suffix) is better than templ[16LU..__dollar - 1LU] = suffix
Should I downgrade dmd?
Ok, now using ~master (which requires the added dependency of libevent, libssl,.. at master too?)
Running dub now runs into the unpleasant:
/usr/bin/ld: cannot find -lev
collect2: error: ld returned 1 exit status
--- errorlevel 1
Error: Link command failed with exit code 1
Yet /usr/lib/libevent.so and /usr/lib/libevent.a do exist.
I created symbolic links to libev.so and libev.a and it compiled :D
Now it only gives a warning:
Listening for HTTP requests on :::2013
Failed to listen on 0.0.0.0:2013
But seems to work (the test text is displayed)