DUB problems

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 31 02:02:28 PST 2015


V Thu, 31 Dec 2015 22:23:43 +1300
Rikki Cattermole via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> napsáno:

> On 31/12/15 10:17 PM, Daniel Kozak via Digitalmars-d-learn wrote:
> > V Thu, 31 Dec 2015 09:09:20 +0000
> > yawniek via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
> > napsáno:
> >  
> >> On Thursday, 31 December 2015 at 08:51:42 UTC, Daniel Kozak
> >> wrote:  
> >>> I try to build vibe-d Hello world app with dub, but I have many
> >>> problems with dub, nothing works at all
> >>>
> >>> Error: Output file 'client.o' for module 'vibe.http.client'
> >>> collides with previous module 'vibe.db.mongo.client'. See the
> >>> -oq option
> >>>
> >>> and allmost nothing works as expected. How can I do one simple
> >>> thing:
> >>>
> >>> Compile vibe.d with libasync and with ldc compiler  
> >>
> >> os? versions? it kind of depends.
> >>
> >> i just tested this on linux.
> >>
> >> dub init -t vibe.d foo
> >> cd foo
> >> cat dub.json
> >> {
> >> 	"name": "foo",
> >> 	"description": "A simple vibe.d server application.",
> >> 	"copyright": "Copyright © 2015, yannick",
> >> 	"authors": ["yannick"],
> >> 	"dependencies": {
> >> 		"vibe-d": "~>0.7.26"
> >> 	},
> >> 	"versions": ["VibeDefaultMain"],
> >> "subConfigurations": { "vibe-d": "libasync"}
> >> }
> >>
> >> ws01% cat dub.selections.json
> >> {
> >> 	"fileVersion": 1,
> >> 	"versions": {
> >> 		"memutils": "0.4.3",
> >> 		"vibe-d": "0.7.26",
> >> 		"libevent": "2.0.1+2.0.16",
> >> 		"libev": "5.0.0+4.04",
> >> 		"openssl": "1.1.4+1.0.1g",
> >> 		"libasync": "0.7.5"
> >> 	}
> >> }
> >>
> >> dub build  --compiler=ldc -b release --combined
> >> ldc --version
> >> LDC - the LLVM D compiler (0.16.1):
> >>     based on DMD v2.067.1 and LLVM 3.7.0
> >> dub --version
> >> DUB version 0.9.24-rc.2+18-g4fece3c
> >>
> >> note the dub switches
> >> compiling in debug mode or without --combined crashes!
> >>  
> >
> > Error: Output file 'hashmap.o' for module 'memutils.hashmap'
> > collides with previous module 'libasync.internals.hashmap'. See the
> > -oq option
> >
> > It is wierd because it works before, I probably will try to remove
> > everything and try it again  
> 
> What are your CLI variables set to?
> For *nix use export
> For Windows use set
> To find out.
> 

Nothing interesting:

declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
declare -x
DESKTOP_AUTOSTART_ID="10d9ace2fd2c24f20d145145933479330000000023570002"
declare -x DESKTOP_SESSION="GNOME" declare -x DISPLAY=":0"
declare -x EDITOR="vim"
declare -x
GIO_LAUNCHED_DESKTOP_FILE="/home/kozak/.config/autostart/guake.desktop"
declare -x GIO_LAUNCHED_DESKTOP_FILE_PID="2580" declare -x
GNOME_DESKTOP_SESSION_ID="this-is-deprecated" declare -x
GTK_MODULES="canberra-gtk-module" declare -x HOME="/home/kozak"
declare -x LANG="cs_CZ.utf-8"
declare -x LIBVA_DRIVER_NAME="gallium"
declare -x LOGNAME="kozak"
declare -x MAIL="/var/spool/mail/kozak"
declare -x MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"
declare -x OLDPWD
declare -x
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
declare -x PWD="/home/kozak" declare -x
SESSION_MANAGER="local/dajinka:@/tmp/.ICE-unix/2357,unix/dajinka:/tmp/.ICE-unix/2357"
declare -x SHELL="/bin/bash" declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
declare -x TERM="xterm"
declare -x USER="kozak"
declare -x XAUTHORITY="/home/kozak/.Xauthority"
declare -x XDG_CURRENT_DESKTOP="GNOME"
declare -x XDG_MENU_PREFIX="gnome-"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_ID="c1"
declare -x XDG_VTNR="1"



More information about the Digitalmars-d-learn mailing list