classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gjdoc-0.7.1-pre1


From: Julian Scheid
Subject: Re: gjdoc-0.7.1-pre1
Date: Wed, 09 Feb 2005 16:04:03 +0100
User-agent: Debian Thunderbird 1.0 (X11/20050118)

Joao Victor wrote:
I get this:

checking for antlr 2.7.1 or better... ./configure: line 19746: test:
too many arguments
./configure: line 19747: test: too many arguments
./configure: line 19749: test: too many arguments
configure: error: no suitable antlr.jar found for version 2.7.1

Hi Joao,

this is what happens in line 19746:

antlr_version_major=`echo $antlr_version_str | sed $antlr_version_regex\\1/"`

Could you check out:
- what is in $antlr_version_str
- and whether it works if you quote it like this "$antlr_version_str"

Perhaps quoting will make the error go away, but the error most likely means that $antlr_version_str hasn't been extracted properly. So it would be interesting what's in there on your system.

That string is determined like this a couple of lines above:
antlr_version_str=`$JAVA -classpath "$antlr_lib_home/antlr.jar" antlr.Tool 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`

So another thing you could do would be to find out what $JAVA is set to during configure and see what happens when you run antlr.Tool with that.

BTW, what distribution are you using?

Thanks,

Julian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]