From: PerOlof PO B. <po...@he...> - 2009-06-15 17:08:34
|
Hi, I have openjdk native tools and everything in the recipe to create jamvm... but it still fails. So, I guess it could be a path missig somewhere, but I find it hard to understand where to put it when autoconfig is used. Is it just a matter of appending it in the bb-recipe? Any hint appreciated. Thanks. /PO ----- Original Message ----- From: "Chris Dollar" <chr...@gm...> To: "General mailing list for gumstix users." <gum...@li...> Sent: Sunday, June 14, 2009 10:26 PM Subject: Re: [Gumstix-users] Bitbake of cacaoh-native fails Looks like you dont have javac in your PATH. You need to install a JDK or jikes or something similar which should provide the javac compiler (or if you have one of those installed make sure javac is in your PATH). Chris On Sat, Jun 13, 2009 at 2:31 PM, PerOlof PO Bengtsson<po...@he...> wrote: > Hi, > > hints on what is wrong or how to fix greatly appreciated. > > BR, > PO > > > running the overo-oe repository. > > Bitbake output: > > checking if javac works... configure: error: The Java compiler javac > failed > (see config.log, check the CLASSPATH?) > | FATAL: oe_runconf failed > NOTE: Task failed: > /home/po/overo-oe/tmp/work/i686-linux/cacaoh-native-0.99.4-r0/temp/log.do_configure.22101 > ERROR: TaskFailed event exception, aborting > ERROR: Build of > /home/po/overo-oe/org.openembedded.dev/recipes/cacao/cacaoh-native_0.99.4.bb > do_configure failed > ERROR: Task 5 > (/home/po/overo-oe/org.openembedded.dev/recipes/cacao/cacaoh-native_0.99.4.bb, > do_configure) failed > NOTE: Tasks Summary: Attempted 213 tasks of which 213 didn't need to be > rerun and 1 failed. > ERROR: > '/home/po/overo-oe/org.openembedded.dev/recipes/cacao/cacaoh-native_0.99.4.bb' > failed > > > When I execute the run.do_configure script without bitbake I don't get > same > error. > In the run.do_configure environment javac produces the following error > message: > > po@solen > ~/overo-oe/tmp/work/i686-linux/cacaoh-native-0.99.4-r0/cacao-0.99.4 > $ javac > Exception in thread "main" java.lang.NoClassDefFoundError: > com/sun/tools/javac/Main > <<No stacktrace available>> > Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main not > found in java.lang.ClassLoader$1{urls=[], parent=null} > at java.net.URLClassLoader.findClass(URLClassLoader.java:529) > at java.lang.ClassLoader.loadClass(ClassLoader.java:341) > at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112) > at java.lang.ClassLoader.loadClass(ClassLoader.java:293) > The following line are in in the site.conf > > PREFERRED_PROVIDER_classpath = "classpath" > PREFERRED_PROVIDER_virtual/java-initial = "jamvm-initial" > PREFERRED_VERSION_jamvm-initial = "1.4.5" > PREFERRED_PROVIDER_virtual/javac-native = "openjdk-javac-native" > PREFERRED_PROVIDER_swt3.4-gtk = "swt3.4-gtk" > PREFERRED_PROVIDER_virtual/java-native = "jamvm-native" > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |