Issue 125830 - aoo-4.1.1 cannot configure: error: no, you need at least ant >= 1.6.0
Summary: aoo-4.1.1 cannot configure: error: no, you need at least ant >= 1.6.0
Status: UNCONFIRMED
Alias: None
Product: Build Tools
Classification: Code
Component: configure (show other issues)
Version: 4.1.1
Hardware: Mac OS X 10.10
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 23:41 UTC by ugur
Modified: 2016-08-29 17:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Log of ./configuration (12.87 KB, text/plain)
2014-11-05 23:41 UTC, ugur
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ugur 2014-11-05 23:41:26 UTC
Created attachment 84168 [details]
Log of ./configuration

BUILD AOO-4.1.1 FROM SOURCE FAILS
HERE IS WHAT I DID:
autoconf
./configure --with-dmake-path=/usr/local/bin/dmake --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-odk --prefix=/Users/ugurmeryem/currentaoo --without-junit

BUT CONFIGURATION FAILS WITH THIS:
checking for jakarta-ant... no
checking for ant... /opt/local/bin/ant
checking if /opt/local/share/java/apache-ant/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build!
checking whether ant is >= 1.6.0... ./configure: line 22531: test: not /System/Library/Frameworks/JavaVM: integer expression expected
configure: error: no, you need at least ant >= 1.6.0


HOWEVER, MY ANT VERSION:
Ugur-MacBook-Pro:aoo-4.1.1 ugurmeryem$ ant -version
Apache Ant(TM) version 1.9.3 compiled on December 23 2013

NOTE: I HAVE FOLLOWED THE INSTRUCTIONS HERE: 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_MacOSX
Comment 1 Mayank Gupta 2016-08-29 17:22:49 UTC
Also seen on Ubuntu 16.04 LTS
Comment 2 Mayank Gupta 2016-08-29 17:43:03 UTC
use --with-ant-home along with --with-java --with-jdk-home=$JAVA_HOME

to solve this problem.