harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Beyer <nbe...@gmail.com>
Subject Re: [general] Building on Fedora 10
Date Tue, 28 Apr 2009 04:25:29 GMT
I think you're getting caught in a check for FreeBSD. Can you try
applying this patch to adjust the dependency calculation.

Index: common_resources/make/properties.xml
--- common_resources/make/properties.xml	(revision 769212)
+++ common_resources/make/properties.xml	(working copy)
@@ -75,7 +75,10 @@
     <condition property="hy.platform.suffix" value=".7x">
         <!-- matches would be better but debian stable has ant 1.6.5
              and matches was only added to 1.7.0 and above -->
-        <contains substring="7." string="${os.version}"/>
+        <and>
+            <equals arg1="FreeBSD" arg2="${os.name}" casesensitive="false" />
+            <contains substring="7." string="${os.version}"/>
+        </and>
     <property name="hy.platform.suffix" value="" />
     <property name="hy.platform.variant"

Once the downloads actually work, you can copy the ecj JAR from the
dependencies in common_resources. You'll want to copy the junit JAR as


On Mon, Apr 27, 2009 at 11:03 PM, Andrew Myers <am2605@gmail.com> wrote:
> Hi,
> Firstly I hope I am okay to ask this "newbie" type question on this list...
> I'm trying to build harmony on Fedora 10, following the instructions at
> http://harmony.apache.org/quickhelp_contributors.html
> At the moment I am stuck with this error when I run the ant build:
> /home/andrew/projects/harmony/common_resources/make/depends.xml:200: Can't
> get
> http://svn.apache.org/repos/asf/harmony/standard/depends/libs/linux.x86.7x/icu-3.4.zip
> to
> /home/andrew/projects/harmony/common_resources/depends/libs/linux.x86.7x/icu-3.4/icu-3.4.zip
> Is there anwhere else I can get this file from?
> And just as a more general question, has anyone else tried successfully to
> build harmony on F10?  The doco I could find all referred to Ubuntu.  I
> think I've made some progress on finding the dependencies I need, although
> I'm still having trouble getting ant to find the ecj.jar file.  If anyone
> has been through this and could point me in the right direction that'd be
> great.  Otherwise, I'll keep documenting what I've done and perhaps it will
> be useful to someone else in the future.
> Many thanks,
> Andrew.

View raw message