On Saturday, 27 January 2018 at 02:59:24 UTC, ChrisPiker wrote:
BTW you can run the tour offline too:

```
git clone https://github.com/dlang-tour/core
cd core
git submodule foreach git pull origin master
dub
```
Not that it's worth debugging since wget should get the job done

The (offline) tour allows you to run the code directly in your browser - though of course that's really an absolute necessity.

but there seems to be a dependency library missing on our systems. The error message when running dub was:

```
...
Compiling Diet HTML template tour.dt...
Compiling Diet HTML template editor.dt...
Linking...
/usr/bin/ld: cannot find -levent
collect2: ld returned 1 exit status
Error: linker exited with status 1
dmd failed with exit code 1.
```


The Dlang-Tour uses the web framework vibe.d (https://github.com/vibe-d/vibe.d). vibe.d currently uses libevent as underlying event library by default. Though with the upcoming 0.8.3 release that's about to change soon - it will then use the native D vibe-core scheduler by default.
You can already use vibe-core today if you want to:

dub --override-config="vibe-d:core/vibe-core"

(BTW libevent is typically available as libevent-dev or libevent-devel.)

In any case you can also always read the "pure" Markdown content directly on GitHub:

https://github.com/dlang-tour/english

Reply via email to