LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2010, 11:15 AM   #1
prjctl
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
how to run D compiler


i want to use the d compiler (such as gdc-4.1, but i'll take any other one too) to compile a package that some one else made (in this case it's this one: http://hizuoka.web.fc2.com/game/projectL/index_en.html ). i don't know how to compile it though. there's two subdirectories with .d files but none of these compiles on its own. in the top level dir there's a file build.xml but i don't know what to do with it. how do i compile? never used d before.
 
Old 05-12-2010, 12:18 PM   #2
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
I don't know about D, but the Ant build system uses build.xml, so try cd-ing into the directory with build.xml and running the `ant' program. It can't hurt!

P.S. I'm sorry if it hurts.
 
Old 05-12-2010, 01:30 PM   #3
prjctl
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JohnGraham View Post
I don't know about D, but the Ant build system uses build.xml, so try cd-ing into the directory with build.xml and running the `ant' program.
Well guessed, the build.xml actually says "Ant" in its comments. Thanks!

I run ant and get the following error:
Code:
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
Buildfile: build.xml

compile:

link:

BUILD FAILED
/home/prjctl/projectL_1001/build.xml:34: Execute failed: java.io.IOException: Cannot run program "dmd": java.io.IOException: error=2, No such file or directory

Total time: 0 seconds
Now what do I do?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C compiler to run on Asus Eee 901 arnfinn Linux - Newbie 2 04-27-2009 07:27 AM
Help me!! is there any compiler for vb.net in able to run in linux? jetro2k5 Linux - Software 3 04-05-2007 09:57 AM
How to run my compiler BobNutfield Linux - Newbie 2 01-11-2006 07:11 AM
C compiler cannot run C compiled programs petero Programming 8 05-27-2005 11:35 AM
how do i run my c compiler fhameed Linux - Software 2 11-16-2003 11:06 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration