[kaffe] java.awt.AWTError:
huony
huony at 126.com
Wed Apr 20 08:58:05 PDT 2005
hi everyone can anyone help me out
export AR=ppc_405-ar
export AS=ppc_405-as
export LD=ppc_405-ld
export RANLIB=ppc_405-ranlib
export CC=ppc_405-gcc
export CXX=ppc_405-g++
export NM=ppc_405-nm
./configure --disable-debug --disable-sound --with-kaffe-qt-awt --with-engine=intrp --without-classpath-gtk-awt --host=powerpc-linux --enable-pure-java-math --prefix=/opt/hardhat/devkit/ppc/405/target/usr/local/kaffe
results in a runtime that still wants the gtk awt:
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:535)
at java.awt.Font.tk (Font.java:277)
at java.awt.Font.getPeerFromToolkit (Font.java:289)
at java.awt.Font.<init> (Font.java:347)
at TextCanvas.setFont (TextCanvas.java)
at TextEdit.<init> (TextEdit.java)
at TextEdit.main (TextEdit.java)
at java.lang.reflect.Method.invoke0 (Method.java)
at java.lang.reflect.Method.invoke (Method.java:255)
at kaffe.jar.ExecJarName.main (ExecJarName.java:67)
at kaffe.jar.ExecJar.main (ExecJar.java:75)
Caused by: java.lang.UnsatisfiedLinkError: Could not find library 'gtkpeer'
Adding its directory to LD_LIBRARY_PATH may help.
at java.lang.Class.forName (Class.java)
at java.lang.Class.forName (Class.java:44)
at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:521)
...10 more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20050420/2656ef5f/attachment-0005.htm
More information about the kaffe
mailing list