2009/6/11 alk.shr <
alk.shr@...>:
>
> I am getting below error trying to build GNU classpath 0.98 with sun JDK1.6
> compiler on debian linux system-
>
> Making all in scripts
> make[1]: Entering directory `/jvm/classpath-0.98/scripts'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/jvm/classpath-0.98/scripts'
> Making all in tools
> make[1]: Entering directory `/jvm/classpath-0.98/tools'
> /bin/mkdir -p classes asm
> /bin/mkdir -p ../tools/generated/gnu/classpath/tools/gjdoc/expr
> java -classpath antlr.Tool -o
> ../tools/generated/gnu/classpath/tools/gjdoc/expr/ \
> ./gnu/classpath/tools/gjdoc/expr/java-expression.g
> Unrecognized option: -o
> Could not create the Java virtual machine.
> make[1]: *** [tools.zip] Error 1
> make[1]: Leaving directory `/jvm/classpath-0.98/tools'
> make: *** [all-recursive] Error 1
>
> command used to configure classpath is given below-
> ./configure --disable-gtk-peer --disable-plugin --disable-gconf-peer
> --enable-tools
>
> Please help to resolve above build error in classpath.
> --
> View this message in context:
http://www.nabble.com/Problem-in-building-GNU-classpath-0.98-with-sun-JDK1.6-compiler-tp23975962p23975962.html> Sent from the Gnu - Classpath - General mailing list archive at Nabble.com.
>
>
>
You're missing antlr. But configure should have caught this earlier,
so might be useful to post your config.log.
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (
http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpathhttp://openjdk.java.netPGP Key: 94EFD9D8 (
http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8