<div>hi, all</div>
<div> i want to install the kaffe with qt, so i configure kaffe like this(x86):</div>
<div>./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</div>
<div> </div>
<div>i install kaffe successfully(of course, qt has installed successfully). but when i run the kaffe's test: </div>
<div>./WidgetDemo.sh</div>
<div> </div>
<div>i get the error:</div>
<div>java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit<br> at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:native)<br> at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java
:79)<br> at java.lang.Throwable.fillInStackTrace (Throwable.java:498)<br> at java.lang.Throwable.<init> (Throwable.java:159)<br> at java.lang.Error.<init> (Error.java:81)<br> at java.awt.AWTError.<init> (
AWTError.java:62)<br> at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:535)<br> at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (GraphicsEnvironment.java:103)<br> at java.awt.Window.<init> (Window.java
:159)<br> at java.awt.Frame.<init> (Frame.java:233)<br> at WidgetsDemo.<init> (WidgetsDemo.java:84)<br> at WidgetsDemo.main (WidgetsDemo.java:318)<br>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/]'<br> at java.lang.VMClassLoader.loadClass (VMClassLoader.java:native
)<br> at java.lang.Class.forName (Class.java:212)<br> at java.lang.Class.forName (Class.java:163)<br> at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:521)<br> at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment
(GraphicsEnvironment.java:103)<br> at java.awt.Window.<init> (Window.java:159)<br> at java.awt.Frame.<init> (Frame.java:233)<br> at WidgetsDemo.<init> (WidgetsDemo.java:84)<br> at WidgetsDemo.main
(WidgetsDemo.java:318) </div>
<div> </div>
<div>oh, it's the gtk error, but i don't select the gtk option when i run configure, wha't the matter with it? </div>
<div>can some one help me? thanks a lot!</div>