Re: [dev] ant error while compiling on win7

2010-06-04 Thread hanbo
Hi, xiaofeng

Probably, you can find some hints here from the wiki.
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows#configure

在 2010年6月1日 上午10:59, xiaofen...@iscas.ac.cn写道:

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

Don't need to do this. configure with --with-ant-home=/cygdrive/c/ant
works better.


 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
 .


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

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

   ^^
Attention. Don't know where you put *.jar in ant/lib/, though, I know you've
put them at /cygdrive/c/ant/lib/, but computer is not that kind of ...smart.
configure --with-ant-home=/cygdrive/c/ant will let the computer know.

BTW, don't try to set the PATHs yourself, let configure deal with these
things.

Regards,
hanbo


[dev] ant error while compiling on win7

2010-05-31 Thread xiaofeng08
My platform is win7 64 bit.
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
.

The problem is my ant version is 1.8.0
When I type in ant -version in the cmd.exe window, the answer is:
Apache Ant version 1.8.0 compiled on Februray 1 2010


Thanks.


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



Re: [dev] ant error while compiling on win7

2010-05-31 Thread Rene Engelhard
On Mon, May 31, 2010 at 09:17:24PM +0800, xiaofen...@iscas.ac.cn wrote:
 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

Are you sure your ant executed properly from configure?
What does config.log say?

(And yes, the error probably should be more meaningful there, but...)

Grüße/Regards,

René

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



Re: [dev] ant error while compiling on win7

2010-05-31 Thread xiaofeng08
The config.log is lke follows:
I extract the lines that are related to ant, here it is
---
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=''
..

---


On 星期一, 五月 31, 2010 10:16 pm, Rene Engelhard wrote:
---
On Mon, May 31, 2010 at 09:17:24PM +0800, xiaofen...@iscas.ac.cn wrote:
 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

Are you sure your ant executed properly from configure?
What does config.log say?

(And yes, the error probably should be more meaningful there, but...)

Gr��e/Regards,

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

---


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