FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't get mango.

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
dpc



Joined: 28 Jul 2006
Posts: 6

PostPosted: Thu Dec 14, 2006 5:39 pm    Post subject: Can't get mango. Reply with quote

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
View user's profile Send private message Send e-mail
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Fri Dec 15, 2006 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
dpc



Joined: 28 Jul 2006
Posts: 6

PostPosted: Sat Dec 16, 2006 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
dpc



Joined: 28 Jul 2006
Posts: 6

PostPosted: Wed Dec 20, 2006 5:09 pm    Post subject: Reply with quote

And - why mango.xml doesn't get installed?
Back to top
View user's profile Send private message Send e-mail
Gregor



Joined: 05 May 2006
Posts: 72
Location: Portland, OR

PostPosted: Wed Dec 20, 2006 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group