When compiling OpenOffice.org on Win7 using cygwin, got error.
 The error is:
 ...............
 checking for jakarta-ant...  no
 checking for ant...  /cygdrive/c/ant/bin/ant
 checking whether ant is >= 1.6.0... ./configure: line 28460: test: tools: 
integer
 expression expected

configure: error: no, you need at least ant >= 1.6.0

My ant is 1.8.0.
When type ant -version in cmd window, the answer is:
Apache Ant version 1.8.0 compiled on February 1, 2010

The config.log is lke follows:(I extract the lines that are related to ant)
-------------------------------------------
PATH: /cygdrive/c/ant/bin
.....

configure:28329: checking for jakarta-ant
configure:28362: result: no
configure:28329: checking for ant
configure:28347: found /cygdrive/c/ant/bin/ant
configure:28359: result: /cygdrive/c/ant/bin/ant
configure:28452: checking whether ant is >= 1.6.0
configure: ant_version tools.jar.
1.8.0
configure: ant_version_major tools
configure: ant_version_minor jar
configure:28467: error: no, you need at least ant >= 1.6.0
.....

ac_cv_path_ANT=/cygdrive/c/ant/bin/ant
.....



## ----------------- ##
## Output variables. ##
## ----------------- ##

ABOUT_BITMAPS=''
AGG_CFLAGS=''
AGG_LIBS=''
AGG_VERSION='2300'
ALLOC=''
ANT='/cygdrive/c/ant/bin/ant'
ANT_HOME=''
ANT_LIB=''
......



Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to