[greenstone-users] Problem with Ubuntu Linux and GTK

From H.M. Gladney
DateSat, 10 Mar 2007 15:00:11 -0800
Subject [greenstone-users] Problem with Ubuntu Linux and GTK
Because of a run-time failure of the Greenstone Librarian, as indicated by the attached console file, I am unable to run the Greenstone Librarian interface  under my chosen Linux distribution (Ubuntu Linux).  

I have been rooting around the WWW to see whether I can find a reported fix for this problem.   There are many websites discussing the problem, which seens to be related to a distinction between a 32-bit and a 64-bit version of failing software.   However deciding which of this information is pertinent and how to use it is beyond me.  also looked  for an Ubuntu list dealing with it--an appropriate place to persuade some Ubuntu guru to identify or provide a fix, but found nothing helpful.

Please suggest how I might efficiently proceed.

Best wishes, Henry   H.M. Gladney, Ph.D.    http://home.pacbell.net/hgladney/

gladney@hmglinux:/gsdl/gli$ ./gli.sh

Greenstone Librarian Interface (GLI)

Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato

GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt

This is free software, and you are welcome to redistribute it

Checking GSDL: /gsdl

Your environment has successfully been set up to run Greenstone

Checking Perl: /usr/bin/perl

Checking Java: /usr/bin/java

Running the Greenstone Librarian Interface...

Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit

at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)

at java.awt.Font.tk(libgcj.so.7)

at java.awt.Font.getPeerFromToolkit(libgcj.so.7)

at java.awt.Font.<init>(libgcj.so.7)

at javax.swing.plaf.FontUIResource.<init>(libgcj.so.7)

at javax.swing.plaf.metal.DefaultMetalTheme.<clinit>(libgcj.so.7)

at java.lang.Class.initializeClass(libgcj.so.7)

at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(libgcj.so.7)

at javax.swing.plaf.metal.MetalLookAndFeel.<init>(libgcj.so.7)

at javax.swing.UIManager.<clinit>(libgcj.so.7)

at java.lang.Class.initializeClass(libgcj.so.7)

at org.greenstone.gatherer.GathererProg.main(GathererProg.java:52)

Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit

at java.lang.Class.forName(libgcj.so.7)

at java.lang.Class.forName(libgcj.so.7)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)

...11 more


Best wishes, Henry

H.M. Gladney, Ph.D.    http://home.pacbell.net/hgladney/