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