View previous topic :: View next topic |
Author |
Message |
dpc
Joined: 28 Jul 2006 Posts: 6
|
Posted: Thu Dec 14, 2006 5:39 pm Post subject: Can't get mango. |
|
|
mango/convert => DD-mango-convert
+ /home/dpc/stg/d/bin//dsss_build -I/home/dpc/stg/d/bin/include/d -LIBPATH=/home/dpc/stg/d/bin/lib -LIBPATH=. -od. -explicit -lib -full mango/convert/Integer.d mango/convert/Sprint.d mango/convert/Rfc1123.d mango/convert/Type.d mango/convert/UnicodeBom.d mango/convert/DGDouble.d mango/convert/Unicode.d mango/convert/Format.d mango/convert/Double.d mango/convert/Atoi.d -TlibSDD-mango-convert.a
mango/convert/Format.d(420): Error: cannot implicitly convert expression (0) of type int to Flags
I tried many times so far and have never got mango compiled using dsss. :/ |
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Fri Dec 15, 2006 5:06 pm Post subject: |
|
|
Actually that's not a problem with DSSS, but with a recent change in DMD. Used to be that enums were implicitly cast'able to ints... but alas, those days are no more. (Actually not alas, as it cleaned up parameter typematching.) Simply edit line #420 of mango.convert.Format to add a 'cast(Flags)' in from of the 0 there, and you should be set.
Yes its a shame to have to hand-edit the Mango source. Fixes ought to be forthcoming. _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
dpc
Joined: 28 Jul 2006 Posts: 6
|
Posted: Sat Dec 16, 2006 9:52 am Post subject: |
|
|
OK. Compiled. But dsss does not create destination directories. It only print a message like this:
Installing DD-mango-cluster
+ copying libSDD-mango-cluster.a
+ cp -fpRL libSDD-mango-cluster.a ~/stg/d//lib/libSDD-mango-cluster.a
+ making directory ~/stg/d//include/d/mango/cluster/model
+ copying IMessage.di
+ cp -fpRL mango/cluster/model/IMessage.di ~/stg/d//include/d/mango/cluster/model/IMessage.di
cp: cannot create regular file `/home/dpc/stg/d//include/d/mango/cluster/model/IMessage.di': No such file or directory
So I have to create each dir manually.
Thx. |
|
Back to top |
|
|
dpc
Joined: 28 Jul 2006 Posts: 6
|
Posted: Wed Dec 20, 2006 5:09 pm Post subject: |
|
|
And - why mango.xml doesn't get installed? |
|
Back to top |
|
|
Gregor
Joined: 05 May 2006 Posts: 72 Location: Portland, OR
|
Posted: Wed Dec 20, 2006 7:14 pm Post subject: |
|
|
Sorry - again, I keep forgetting there's a forum here.
I believe that comes down to a bug in my directory-parsing code. It doesn't like having two /'s. I'm going to dig into DSSS and make some fixes including that one later today or tomorrow. |
|
Back to top |
|
|
|