[Nice-devel] [ nice-Bugs-1936767 ] Compiling nice 0.9.13 fails on Mac OS X 10.4.11
Brought to you by:
bonniot
From: SourceForge.net <no...@so...> - 2008-04-09 16:40:27
|
Bugs item #1936767, was opened at 2008-04-07 16:28 Message generated for change (Comment added) made by rudi_s You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1936767&group_id=12788 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rudi_S (rudi_s) Assigned to: Nobody/Anonymous (nobody) Summary: Compiling nice 0.9.13 fails on Mac OS X 10.4.11 Initial Comment: Hi, I'm trying to compile nice 0.9.13 on Mac OS X 10.4.11 but it fails with the following error: make complete rm -f src/nice/tools/compiler/{console.jar,dateBuild.nice,Manifest} rm -f nicepublish.jar regtest/*.jar rm -rf classes classes-inline share/java src/bossa/parser/{Parse*.java,Token*.java,*CharStream.java} rm -f bin/{nicedoc,niceunit} if [ -r src/bossa/syntax/dispatch.java -a ! -r src/bossa/syntax/dispatch.java.bootstrap ]; then \ mv src/bossa/syntax/dispatch.java src/bossa/syntax/dispatch.java.bootstrap; fi rm -f src/bossa/syntax/dispatch.java find . \( -name "*.class" -o -name "*.nicei" -o -name "*~" \) -exec rm {} \; mkdir -p classes classes-inline ln -sf nicec bin/nicedoc; ln -sf nicec bin/niceunit cd src/bossa/syntax && mv -f dispatch.java.bootstrap dispatch.java javac -classpath "/Users/simonruderich/Documents/unix/macports/trunk/dports/lang/nice/work/nice-0.9.13.orig/classes:/Users/simonruderich/Documents/unix/macports/trunk/dports/lang/nice/work/nice-0.9.13.orig/classes.old" -sourcepath "/Users/simonruderich/Documents/unix/macports/trunk/dports/lang/nice/work/nice-0.9.13.orig/src:/Users/simonruderich/Documents/unix/macports/trunk/dports/lang/nice/work/nice-0.9.13.orig/stdlib" -O -g -d "/Users/simonruderich/Documents/unix/macports/trunk/dports/lang/nice/work/nice-0.9.13.orig/classes" src/nice/tools/util/System.java Note: src/nice/tools/util/System.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. CLASSPATH=classes JAVA="java -Dnice.inlined=classes-inline" bin/nicec.bootstrap --exclude-runtime -d classes.old --sourcepath=stdlib.old:stdlib:src.old:src --classpath=classes -R nice.tools.repository Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at nice.lang.dispatch.printStackTraceWithSourceInfo(Unknown Source) at nice.tools.compiler.console.dispatch.main(Unknown Source) make[1]: *** [core-bootstrap] Error 1 make: *** [src/nice/tools/compiler/console.jar] Error 2 I'm using the following java version and compiler: java version "1.5.0_13" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241) Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing) If you need more information just tell me. Thanks for your help, Simon ---------------------------------------------------------------------- >Comment By: Rudi_S (rudi_s) Date: 2008-04-09 18:40 Message: Logged In: YES user_id=1382820 Originator: YES Thanks, using the version from http://nice.sourceforge.net/nice-current.jar and replacing external/nice-bootstrap.jar worked fine and I could install nice on Mac OS X. But why is the distributed version of nice (in external/nice-bootstrap.jar) outdated and doesn't work to compile its own version? Can this be fixed (for the next release)? Thanks, Simon ---------------------------------------------------------------------- Comment By: Artem Gr Kozarezov (artemgr) Date: 2008-04-09 11:27 Message: Logged In: YES user_id=289741 Originator: NO Might be an old version of bootstrap nice compiler? Usually you have to download the latest version of the compiler. Try http://nice.sourceforge.net/nice-current.jar ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1936767&group_id=12788 |