<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Dear all,<div><br></div><div>Greetings, I am a new contributor, I have prior experience in building projects on OS X and Linux, however I have been having issues with LibreOffice on OS X.</div><div><br></div><div>On OS X 10.9 (Mavericks) Apple doesn't include Apache Ant by default, so I installed Ant but when I ran autogen.sh I got the following error:</div><div><br></div><div>checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works...</div><div>configure: WARNING: Ant does not work - Some Java projects will not build!<br>checking whether Ant is >= 1.6.0... ./configure: line 39155: test: not /System/Library/Frameworks/JavaVM: integer expression expected<br>./configure: line 39158: test: framework/Versions/CurrentJDK/Home/bin/java: integer expression expected<br>configure: error: no, you need at least Ant >= 1.6.0</div><div>configure: error: no, you need at least Ant >= 1.6.0<br>Error running configure at ./autogen.sh line 257.</div><div><br></div><div>I executed the following to confirm my java, javac and ant versions:</div><div><br></div><div>ant -version</div><div><div>Apache Ant(TM) version 1.9.4 compiled on April 29 2014</div></div><div><br></div><div>java -version<br>java version "1.8.0_05"<br>Java(TM) SE Runtime Environment (build 1.8.0_05-b13)<br>Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)</div><div><br></div><div>javac -version<br>javac 1.8.0_05</div><div><br></div><div>I have used ant, java and javac and they all work. I compiled and ran different java code samples and I ran ant -f fetch.xml -Ddest=system which returned successfully. </div><div><br></div><div>There is a previous mailing list discussion regarding this same problem (<a href="http://nabble.documentfoundation.org/Building-LibreOffice-on-Mac-failed-td4095956.html">http://nabble.documentfoundation.org/Building-LibreOffice-on-Mac-failed-td4095956.html</a>) and no solution was provided.</div><div><br></div><div>-- Alamri Hussian</div></body></html>