Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,


I seem to be running into some trouble when running ./autogen.sh, in
particular with the ant detection part.

when i run something like 'ant -buildfile conftest.xml' on the
commandline, ant works as expected.
'ant -version' gives me 'version 1.8.3'

but when i run autogen/configure, I get this message :


checking for ant... /bin/ant
checking if /bin/ant works... configure: WARNING: Ant does not work -
Some Java projects will not build!
checking whether Ant is >= 1.6.0... Error: Could not find or load main
class org.apache.tools.ant.launch.Launcher
./configure: line 34315: test: : integer expression expected
./configure: line 34318: test: : integer expression expected
configure: error: no, you need at least Ant >= 1.6.0
Error running configure at ./autogen.sh line 187.


i cant figure out whats going wrong here ?

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.