RejectedSoftware Forums

Sign up

build dependencies?

I tried to follow the build descriptions for vibe.d from

https://github.com/rejectedsoftware/vibe.d

Basically:
0) Install mentioned deps
1) Check out vibe.d repo
2) Run "setup-linux.sh -i"

Build runs fine, but when I execute "vibe -h", I get the following error

$ vibe -h
Notice: This VPM build script is deprecated. It is recommended to
use DUB instead.
See https://github.com/rejectedsoftware/dub

/usr/local/share/vibe/bin/../source/vibe/core/drivers/libevent2tcp.d(19): Error: module buffer is in file 'deimos/event2/buffer.d' which cannot be read
import path[0] = /usr/local/share/vibe/bin/../source
import path[1] = /usr/local/share/vibe/bin/../import
import path[2] = source
import path[3] = /tmp
import path[4] = /usr/include/dmd/phobos
import path[5] = /usr/include/dmd/druntime/import
Failed: 'dmd' '-g' '-w' '-property' '-version=VibeLibeventDriver' '-I/usr/local/share/vibe/bin/../source' '-I/usr/local/share/vibe/bin/../import' '-L-levent
pthreads' '-L-levent' '-L-lssl' '-L-lcrypto' '-Jviews' '-Isource' '-v' '-o-' '/tmp/vpm.d' '-I/tmp'

Am I supposed to also download a libevent2 d wrapper?

Re: build dependencies?

On Wed, 29 May 2013 15:58:02 GMT, Øivind Loe wrote:

I tried to follow the build descriptions for vibe.d from

https://github.com/rejectedsoftware/vibe.d

Basically:
0) Install mentioned deps
1) Check out vibe.d repo
2) Run "setup-linux.sh -i"

Build runs fine, but when I execute "vibe -h", I get the following error

(...)

The "vibe" script/VPM is currently broken on master - it does not fetch vibe.d's direct dependencies (until recently those were directly included in the repository). With high probability it will also be removed from the next release, because maintaining it doesn't make much sense anymore with DUB so far ahead of it.

It's interesting though that it runs successfully, while DUB doesn't... (assuming that this is also using the same DMD master)

Re: build dependencies?

On Wed, 29 May 2013 19:11:06 GMT, Sönke Ludwig wrote:

On Wed, 29 May 2013 15:58:02 GMT, Øivind Loe wrote:

I tried to follow the build descriptions for vibe.d from

https://github.com/rejectedsoftware/vibe.d

Basically:
0) Install mentioned deps
1) Check out vibe.d repo
2) Run "setup-linux.sh -i"

Build runs fine, but when I execute "vibe -h", I get the following error

(...)

The "vibe" script/VPM is currently broken on master - it does not fetch vibe.d's direct dependencies (until recently those were directly included in the repository). With high probability it will also be removed from the next release, because maintaining it doesn't make much sense anymore with DUB so far ahead of it.

It's interesting though that it runs successfully, while DUB doesn't... (assuming that this is also using the same DMD master)

Yep. It was built from the same DMD commit