Am 21.06.2013 09:48, schrieb Andrew Edwards:

On 6/21/13 3:40 AM, Sönke Ludwig wrote:

Am 21.06.2013 09:27, schrieb Andrew Edwards:

I've configured a the sample website (http://vibed.org/docs) but ran
into linker errors even though all dependencies seems to have installed
correctly. Any suggestions?

(...)

That issue should have been fixed on vibe.d master on 6/17. Is the
output from a recent run and DUB at the latest version?

Maybe it helps to let it reinstall vibe.d by issuing "dub uninstall
vibe-d".

I just cloned install dub, initialized the project and set the
dependencies to

"dependencies": {
        "vibe-d": "~master",
        "libevent": "~master",
        "libev": "~master",
        "openssl": "~master"
}

about five minutes before making that post.

I see.

I've since installed libev-dev form the administrator account and it
works.

Still strange that it tried to link against it in the first place. Can
you post the ~/.dub/packages/vibe-d-master/package.json file to make
sure there has nothing strange been happening with it?

Problem is, I getting the following:

www@localhost:~/dtutor$ dub
Checking dependencies in '/home/www/dtutor'
Building configuration "application", build type debug
Running dmd (compile)...
Compiling diet template 'index.dt' (compat)...
Linking...
Running /tmp/dub/1572749933/dtutor...
Listening for HTTP requests on :::9001
Failed to listen on 0.0.0.0:9001

Not sure if that's because I'm running it as a regular user or what.

That's "OK", the OS is already listening for IPv4 requests using the
first IPv6 listening socket and thus fails to listen on the same port
again, you can set the HTTPServerSettings.bindAddresses field to just
["::"], or maybe better ["127.0.0.1"] to suppress that error message.