On Sep 13, 2004, at 8:31 AM, Trevor Harmon wrote:

On Sep 13, 2004, at 6:26 AM, Benjamin Reed wrote:

Trevor Harmon wrote:

Well, I ran "fink selfupdate", but I skipped "fink update-all" because I didn't want to recompile everything from source, just Ant. Instead, I ran "fink install ant". Unfortunately, Ant failed to build under Fink -- even though I can build it just fine myself from the exact same package source. I guess the next step is to contact the maintainer.

How does it fail to build? Without an error report I can't fix the package. =)

Ah, sorry, didn't know you were listening. :) Here's the output:

I did some detective work and discovered the problem. When I compile the source package manually, it runs this Java:


/Library/Java/Home/bin/java

But when I use fink to compile the package, it runs this Java:

/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/bin/java

Now, I'm not sure why this would cause a problem, but I do know that your .info file (/sw/fink/10.3/unstable/main/finkinfo/devel/ant.info) contains this line:

Type: java(1.3)

which explains why the older version of Java is called. If you simply change this line to:

Type: java

Then the problem goes away, and fink can build and install the package without any trouble. Is there some important reason for the "(1.3)"? If not, I suggest you remove it from the .info file.

Trevor



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to