#22692: gcc-4.4.2 Error in GCJ - configuration error ------------------------------+--------------------------------------------- Reporter: thomas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44 ------------------------------+--------------------------------------------- Comment(by thomas@…): As it turns out it is caused by the build process failing to create the ecj1 script file. This is because it needs ecj.jar that is downloaded using ./contrib/download_ecj in the gcc svn root. The ecj1 script looks like this: {{{ gij-mp-4.4 -cp <SOME PATH>/ecj.jar \ org.eclipse.jdt.internal.compiler.batch.GCCMain \ ${1+"$@"} }}} this gets me over the initial hurdle, but lead to a new error: {{{ Exception in thread "main" java.lang.NoClassDefFoundError: at java.lang.Throwable.<init>(libgcj.10.dylib) at java.lang.Throwable.<init>(libgcj.10.dylib) at gnu.java.lang.MainThread.run(libgcj.10.dylib) Caused by: java.lang.ClassNotFoundException: not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/local/bin/ecj.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.10.dylib) at java.lang.ClassLoader.loadClass(libgcj.10.dylib) at java.lang.ClassLoader.loadClass(libgcj.10.dylib) ...1 more }}} I'm not quite sure what to make of this. There might be some sort of version incompatibility with the gcj.jar I downloaded? -- Ticket URL: <http://trac.macports.org/ticket/22692#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS