On Thu, 21 Mar 2013 14:29:56 GMT, Daniel Davidson wrote:

On Thu, 21 Mar 2013 14:08:09 GMT, Sönke Ludwig wrote:

Are you using the latest release or the git master version (git master works for me)? I remember that there was at least a similar bug that has been resolved for a while. If you are running the release version, trying with the git version is just

git clone https://github.com/rejectedsoftware/vibe.d
cd vibe.d
./install-linux.sh -i
./run_example.sh diet

Regarding the DUB/libcurl problems, did you use the precompiled binary, the Debian package, or compile from source? It usually just needs to have libcurl3 installed (libcurl3-gnutls should also work).

This is great, thanks!

I think I had done the git clone a while back... I just downloaded the zip, did the install and it worked.
Regarding dub, I think I tried both the compile from source and precompiled (dub-0.9.11-linux-x86_64). But now, interestingly dub is doing better. Maybe dub just needed a cleaner vibe?

So, per the instructions I dub install vibelog --local, then cd vibelog and dub and I get:

Checking dependencies in '/home/dbdavidson/plusauri/dlang/dub/vibelog'
The following changes could be performed:
Install vibe-d ~master, projectLocal
Downloading vibe-d ~master...
Installing vibe-d ~master...
vibe-d has been installed with version ~master
You are up to date
Building configuration "application", build type debug
Running dmd (compile)...
Compiling diet template 'mail.new_comment.dt' (compat)...
Compiling diet template 'vibelog.postlist.dt' (compat)...
Compiling diet template 'vibelog.post.dt' (compat)...
Compiling diet template 'vibelog.admin.dt' (compat)...
Compiling diet template 'vibelog.editconfiglist.dt' (compat)...
Compiling diet template 'vibelog.editconfig.dt' (compat)...
Compiling diet template 'vibelog.edituserlist.dt' (compat)...
Compiling diet template 'vibelog.edituser.dt' (compat)...
Compiling diet template 'vibelog.editpostslist.dt' (compat)...
Compiling diet template 'vibelog.editpost.dt' (compat)...
Linking...
object.Exception@.dub/packages/vibe-d/source/vibe/core/drivers/libevent2.d(216): Failed to connect to host localhost on port 27017: 33
----------------
/tmp/dub/510258254/vibelog() [0x4aae72]
/tmp/dub/510258254/vibelog() [0x486a83]
/tmp/dub/510258254/vibelog() [0x4827f5]

A similar "Failed to connect..." issue was raised from goole and seems to have been fixed 7 days ago, but not sure if it is the same or what steps to incorporate a fix?

The connection failure means that there is no MongoDB service running (uses port 27017 by default). I'd use their official APT repository for that: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/.