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

How to compile mango trunk, tango trunk with ldc ?

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



Joined: 15 Dec 2010
Posts: 6

PostPosted: Fri Dec 24, 2010 8:53 pm    Post subject: How to compile mango trunk, tango trunk with ldc ? Reply with quote

How to compile mango trunk, tango trunk with ldc ?
I con't compile tango trunk with ldc 0.9.2,also I con't compile mango trunk with tango 0.99.9. Please help me ! Thank you very much .
Back to top
View user's profile Send private message
bioinfornatics



Joined: 22 Jun 2010
Posts: 90

PostPosted: Tue Dec 28, 2010 10:59 am    Post subject: Reply with quote

with make

Code:
$ make -f mango/build/ldc/makefile
Back to top
View user's profile Send private message
oracle_fire



Joined: 15 Dec 2010
Posts: 6

PostPosted: Tue Dec 28, 2010 7:41 pm    Post subject: compile errors Reply with quote

# make -f mango/build/ldc/makefile
ldc -release -O -inline -oq -c mango/icu/UDomainName.d mango/icu/UCalendar.d mango/icu/URegex.d mango/icu/UTransform.d mango/icu/UChar.d mango/icu/UCollator.d mango/icu/UResourceBundle.d mango/icu/UEnumeration.d mango/icu/UDateFormat.d mango/icu/UTimeZone.d mango/icu/ICU.d mango/icu/USet.d mango/icu/UMessageFormat.d mango/icu/UStringPrep.d mango/icu/UBreakIterator.d mango/icu/ULocale.d mango/icu/UNormalize.d mango/icu/UNumberFormat.d mango/icu/USearch.d mango/icu/UString.d mango/icu/UConverter.d mango/net/http/server/ServiceBridge.d mango/net/http/server/HttpResponse.d mango/net/http/server/HttpMessage.d mango/net/http/server/HttpServer.d mango/net/http/server/HttpThread.d mango/net/http/server/HttpRequest.d mango/net/http/server/SSLServer.d mango/net/http/server/HttpQueryParams.d mango/net/http/server/HttpProvider.d mango/net/http/server/ServiceProvider.d mango/net/http/server/HttpBridge.d mango/net/cluster/model/IMessage.d mango/net/cluster/model/IChannel.d mango/net/cluster/model/IConsumer.d mango/net/cluster/model/ICluster.d mango/net/cluster/model/ICache.d mango/net/cluster/tina/util/model/IServer.d mango/net/cluster/tina/util/ServerThread.d mango/net/cluster/tina/util/AbstractServer.d mango/net/cluster/tina/ProtocolWriter.d mango/net/cluster/tina/RollCall.d mango/net/cluster/tina/ClusterTask.d mango/net/cluster/tina/ClusterCache.d mango/net/cluster/tina/ClusterTypes.d mango/net/cluster/tina/ClusterServer.d mango/net/cluster/tina/ClusterThread.d mango/net/cluster/tina/QueueServer.d mango/net/cluster/tina/QueueThread.d mango/net/cluster/tina/CmdParser.d mango/net/cluster/tina/Cluster.d mango/net/cluster/tina/QueueFile.d mango/net/cluster/tina/ProtocolReader.d mango/net/cluster/tina/ClusterQueue.d mango/net/cluster/tina/TaskServer.d mango/net/cluster/tina/CacheServer.d mango/net/cluster/tina/TaskThread.d mango/net/cluster/tina/CacheThread.d mango/net/cluster/NetworkCache.d mango/net/cluster/NetworkMessage.d mango/net/cluster/NetworkQueue.d mango/net/cluster/CacheInvalidator.d mango/net/cluster/NetworkAlert.d mango/net/cluster/NetworkRegistry.d mango/net/cluster/NetworkCall.d mango/net/cluster/NetworkClient.d mango/net/cluster/CacheInvalidatee.d mango/net/cluster/NetworkTask.d mango/net/cluster/QueuedCache.d mango/net/servlet/model/IServletContext.d mango/net/servlet/model/IServletRequest.d mango/net/servlet/model/IServletResponse.d mango/net/servlet/tools/AdminServlet.d mango/net/servlet/ServletRequest.d mango/net/servlet/ServletProvider.d mango/net/servlet/ServletException.d mango/net/servlet/ServletResponse.d mango/net/servlet/Servlet.d mango/net/servlet/Dictionary.d mango/net/servlet/ServletFileCache.d mango/net/servlet/ServletContext.d mango/net/servlet/ServletConfig.d mango/net/util/model/IRunnable.d mango/net/util/model/IServer.d mango/net/util/cache/model/ICached.d mango/net/util/cache/model/ICache.d mango/net/util/cache/HashMap.d mango/net/util/cache/PlainCache.d mango/net/util/cache/Payload.d mango/net/util/cache/QueuedCache.d mango/net/util/ServerThread.d mango/net/util/AbstractServer.d mango/net/SocketListener.d mango/io/protocol/model/IWriter.d mango/io/protocol/model/IReader.d mango/io/protocol/Allocator.d mango/io/protocol/EndianProtocol.d mango/io/protocol/Protocol.d mango/io/protocol/Reader.d mango/io/protocol/NativeProtocol.d mango/io/protocol/PickleProtocol.d mango/io/protocol/Writer.d -Hd ./import/mango
mango/io/protocol/EndianProtocol.d(120): Error: function mango.io.protocol.EndianProtocol.EndianProtocol.write.write (int,void function(void* dst, uint bytes)) does not match parameter types (int,void function(void[] dst))
mango/io/protocol/EndianProtocol.d(120): Error: cannot implicitly convert expression (&swap16) of type void function(void[] dst) to void function(void* dst, uint bytes)
mango/io/protocol/EndianProtocol.d(127): Error: function mango.io.protocol.EndianProtocol.EndianProtocol.write.write (int,void function(void* dst, uint bytes)) does not match parameter types (int,void function(void[] dst))
mango/io/protocol/EndianProtocol.d(127): Error: cannot implicitly convert expression (&swap32) of type void function(void[] dst) to void function(void* dst, uint bytes)
mango/io/protocol/EndianProtocol.d(133): Error: function mango.io.protocol.EndianProtocol.EndianProtocol.write.write (int,void function(void* dst, uint bytes)) does not match parameter types (int,void function(void[] dst))
mango/io/protocol/EndianProtocol.d(133): Error: cannot implicitly convert expression (&swap64) of type void function(void[] dst) to void function(void* dst, uint bytes)
mango/io/protocol/EndianProtocol.d(137): Error: function mango.io.protocol.EndianProtocol.EndianProtocol.write.write (int,void function(void* dst, uint bytes)) does not match parameter types (int,void function(void[] dst))
mango/io/protocol/EndianProtocol.d(137): Error: cannot implicitly convert expression (&swap80) of type void function(void[] dst) to void function(void* dst, uint bytes)
make: *** [libmango.a] Error 1
Back to top
View user's profile Send private message
bioinfornatics



Joined: 22 Jun 2010
Posts: 90

PostPosted: Mon Jan 03, 2011 4:03 pm    Post subject: Reply with quote

which mango revision you use?

if you use Fedora they are already a package done
Back to top
View user's profile Send private message
oracle_fire



Joined: 15 Dec 2010
Posts: 6

PostPosted: Tue Jan 04, 2011 9:20 pm    Post subject: Reply with quote

bioinfornatics:
Where the package download ? yum ?
Back to top
View user's profile Send private message
bioinfornatics



Joined: 22 Jun 2010
Posts: 90

PostPosted: Wed Jan 12, 2011 11:42 pm    Post subject: Reply with quote

here: http://blog.fedora-fr.org/bioinfornatics/post/Repo-for-D-programming
Back to top
View user's profile Send private message
oracle_fire



Joined: 15 Dec 2010
Posts: 6

PostPosted: Mon Feb 14, 2011 11:17 pm    Post subject: Reply with quote

Thank you very much !
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