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

Compiling the mango library

 
Post new topic   Reply to topic     Forum Index -> Mango
View previous topic :: View next topic  
Author Message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Thu Apr 07, 2005 1:49 am    Post subject: Compiling the mango library Reply with quote

I've just download the latest mango source and decided to rebuild the library file using DMD v0.120. Anyhow, I got some errors you might like to know about.

Code:

mango\icu\USearch.d(99): invalid UTF-8 sequence
mango\icu\USearch.d(117): invalid UTF-8 sequence
mango\icu\USearch.d(119): invalid UTF-8 sequence

The comments had some non-ASCII characters.

FIX: Save the file in UTF-8 BOM format.

Code:

mango\cluster\qos\socket\ClusterEvent.d(124): no property 'Message' for type 'int'
mango\cluster\NetworkAlert.d(68): no property 'Bulletin' for type 'int'
mango\cluster\CacheInvalidatee.d(95): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(190): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(313): no property 'Message' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): duplicate case 1 in switch statement
mango\cluster\qos\socket\ClusterServer.d(115): no property 'Bulletin' for type 'int'
mango\cluster\NetworkQueue.d(76): no property 'Message' for type 'int'
mango\cluster\NetworkQueue.d(137): no property 'Message' for type 'int'
mango\cluster\TaskServer.d(191): no property 'Message' for type 'int'

This seems to be a scoping issue and maybe its a DMD bug. Question

FIX: Add "alias mango.cluster.model.IEvent.IEvent.Style EStyle;" after
the imports, and replace "IEvent.Style" with "EStyle"
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Thu Apr 07, 2005 10:47 am    Post subject: Reply with quote

Thanks, Derek.

The latter stuff looks like a DMD bug (I haven't been able to download 1.20 yet, from IE or from Firefox).
Back to top
View user's profile Send private message
sean



Joined: 24 Jun 2004
Posts: 609
Location: Bay Area, CA

PostPosted: Thu Apr 07, 2005 11:33 am    Post subject: Reply with quote

I couldn't even connect to the DM FTP site using a bona fide FTP client, but the command-line FTP tool in Windows works just fine (don't ask me why). Try that if you still haven't gotten the 120 release.
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Thu Apr 07, 2005 8:45 pm    Post subject: Reply with quote

sean wrote:
I couldn't even connect to the DM FTP site using a bona fide FTP client, but the command-line FTP tool in Windows works just fine (don't ask me why). Try that if you still haven't gotten the 120 release.

I could only get it tonight with IE after fussing with the passive-settings ... even the cmd-line ftp wouldn't work from here ~ hope there's a remedy in store
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Apr 08, 2005 12:05 pm    Post subject: Re: Compiling the mango library Reply with quote

Derek Parnell wrote:
I've just download the latest mango source and decided to rebuild the library file using DMD v0.120. Anyhow, I got some errors you might like to know about.

Code:

mango\icu\USearch.d(99): invalid UTF-8 sequence
mango\icu\USearch.d(117): invalid UTF-8 sequence
mango\icu\USearch.d(119): invalid UTF-8 sequence

The comments had some non-ASCII characters.

FIX: Save the file in UTF-8 BOM format.

Code:

mango\cluster\qos\socket\ClusterEvent.d(124): no property 'Message' for type 'int'
mango\cluster\NetworkAlert.d(68): no property 'Bulletin' for type 'int'
mango\cluster\CacheInvalidatee.d(95): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(190): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(313): no property 'Message' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): no property 'Bulletin' for type 'int'
mango\cluster\qos\socket\Cluster.d(316): duplicate case 1 in switch statement
mango\cluster\qos\socket\ClusterServer.d(115): no property 'Bulletin' for type 'int'
mango\cluster\NetworkQueue.d(76): no property 'Message' for type 'int'
mango\cluster\NetworkQueue.d(137): no property 'Message' for type 'int'
mango\cluster\TaskServer.d(191): no property 'Message' for type 'int'

This seems to be a scoping issue and maybe its a DMD bug. Question

FIX: Add "alias mango.cluster.model.IEvent.IEvent.Style EStyle;" after
the imports, and replace "IEvent.Style" with "EStyle"


Thanks for the heads' up, Derek;

The USearch thing is fixed and checked-in, but I couldn't replicate the issue with mango.cluster ~ which is most odd. I build the whole thing, then erased all the libs and tried again (!), checked the source against the repository etc. etc. No problem. Did you get the code from the repository, Derek, or from the download zip-files?

- Kris
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Fri Apr 08, 2005 3:47 pm    Post subject: Re: Compiling the mango library Reply with quote

kris wrote:

Did you get the code from the repository, Derek, or from the download zip-files?


mango_release_1-2a.zip

Maybe it has to do with the order I compiled them in? I'll do some more checking later. I'm just about to go on a week's vacation Very Happy
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Fri Apr 08, 2005 5:20 pm    Post subject: Re: Compiling the mango library Reply with quote

Derek Parnell wrote:
I'm just about to go on a week's vacation Very Happy

Sweet!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Mango 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