OOo building error

View: New views
2 Messages — Rating Filter:   Alert me  

OOo building error

by Kevin Fan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI! I have some problem when I build OOo on WindowsXP with cygwin.

Here are the error messages:
checking whether ant is >= 1.6.0... cygpath: can't convert empty path
./configure: line 27670: test: tools: integer expression expected
configure: error: no, you need at least ant >= 1.6.0

But I already installed Apache-ant 1.7.1
$ ant -version
Apache Ant version 1.7.1 compiled on June 27 2008

And it's same result when I use Apache-ant 1.6.5

The environment variables I set are:
$ echo $ANT_HOME
c:\ant

$ echo $JAVA_HOME
C:\Program Files\Java\jdk1.6.0_16

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri
ve/c/WINDOWS:/cygdrive/c/WINDOWS/system32/wbem:/cygdrive/c/Program
Files/Invente
c/Dreye/DreyeSA/DreyeTTs/eTTS:/cygdrive/c/Program
Files/Java/jdk1.6.0_16/bin:/cy
gdrive/c/Program Files/QuickTime/QTSystem:/cygdrive/c/Program
Files/Microsoft SQ
L Server/90/Tools/binn/:/cygdrive/c/java/jdk1.6.0_16/:/cygdrive/c/ant/bin

I can't figure out the solution.

Thanks help

Re: OOo building error

by Michael Stahl-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03/11/2009 02:50, Kevin Fan wrote:
> HI! I have some problem when I build OOo on WindowsXP with cygwin.
>
> Here are the error messages:
> checking whether ant is >= 1.6.0... cygpath: can't convert empty path
> ./configure: line 27670: test: tools: integer expression expected
> configure: error: no, you need at least ant >= 1.6.0

hmm... no idea what would cause this.
maybe try giving configure the argument: --with-ant-home=/cygdrive/c/ant

if that does not help, try editing the configure script at the line that
prints the message above, and "echo" what ant program it is trying to
call, maybe that would show what is going wrong...

> But I already installed Apache-ant 1.7.1
> $ ant -version
> Apache Ant version 1.7.1 compiled on June 27 2008
>
> And it's same result when I use Apache-ant 1.6.5
>
> The environment variables I set are:
> $ echo $ANT_HOME
> c:\ant

it seems the configure script does not care about ANT_HOME

> $ echo $JAVA_HOME
> C:\Program Files\Java\jdk1.6.0_16
>
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri
> ve/c/WINDOWS:/cygdrive/c/WINDOWS/system32/wbem:/cygdrive/c/Program
> Files/Invente
> c/Dreye/DreyeSA/DreyeTTs/eTTS:/cygdrive/c/Program
> Files/Java/jdk1.6.0_16/bin:/cy
> gdrive/c/Program Files/QuickTime/QTSystem:/cygdrive/c/Program
> Files/Microsoft SQ
> L Server/90/Tools/binn/:/cygdrive/c/java/jdk1.6.0_16/:/cygdrive/c/ant/bin

--
"Steve Jobs said two years ago that X is brain-damaged and it will be
 gone in two years.  He was half right." -- Dennis Ritchie
"Dennis Ritchie is twice as bright as Steve Jobs, and only half
 wrong." -- Jim Gettys


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...