hi, all
   i want to install the kaffe with qt, so i configure kaffe like this(x86):
./configure  --with-kaffe-qt-awt --with-qt-libraries=$QTDIR/lib --with-qt-binaries=$QTDIR/lib --with-qtdir=$QTDIR  --without-classpath-gtk-awt --without-esd --without-alsa --disable-debug
 
i install kaffe successfully(of course, qt has installed successfully). but when i run the kaffe's test: 
./WidgetDemo.sh
 
i get the error:
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
   at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:native)
   at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java :79)
   at java.lang.Throwable.fillInStackTrace (Throwable.java:498)
   at java.lang.Throwable.<init> (Throwable.java:159)
   at java.lang.Error.<init> (Error.java:81)
   at java.awt.AWTError.<init> ( AWTError.java:62)
   at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:535)
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (GraphicsEnvironment.java:103)
   at java.awt.Window.<init> (Window.java :159)
   at java.awt.Frame.<init> (Frame.java:233)
   at WidgetsDemo.<init> (WidgetsDemo.java:84)
   at WidgetsDemo.main (WidgetsDemo.java:318)
caused by: java.lang.UnsatisfiedLinkError: Native library `gtkpeer' not found (as file `libgtkpeer.so' in class loader null) in gnu.classpath.boot.library.path and java.library.path `[/usr/local/kaffe/jre/lib/i386/, /usr/local/kaffe/lib/, /lib/, /home/yanwei/qte-3.2.0-x86/lib/]'
   at java.lang.VMClassLoader.loadClass (VMClassLoader.java:native )
   at java.lang.Class.forName (Class.java:212)
   at java.lang.Class.forName (Class.java:163)
   at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:521)
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (GraphicsEnvironment.java:103)
   at java.awt.Window.<init> (Window.java:159)
   at java.awt.Frame.<init> (Frame.java:233)
   at WidgetsDemo.<init> (WidgetsDemo.java:84)
   at WidgetsDemo.main (WidgetsDemo.java:318) 
 
oh, it's the gtk error, but i don't select the gtk option when i run configure, wha't the matter with it?
can some one help me? thanks a lot!
_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to