mysql-query-browser: get it to work in SuSE 10.0 on x86_64

Keywords:
Versions:

When source rpm and required installed packages are installed the command

rpmbuild --rebuild mysql-query-browser-1.1.18-1.suse93.src.rpm

will result in

checking for libglade-2.0
                        gthread-2.0
                        libxml-2.0 >= 2.6.2
                        libgtkhtml-3.6
                        gtkmm-2.4... Package libgtkhtml-3.6 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgtkhtml-3.6.pc' to the PKG_CONFIG_PATH environment variable No package 'libgtkhtml-3.6' found

Go to source dir:

cd /usr/src/packages/BUILD/mysql-query-browser-1.1.18/mysql-query-browser

Open 'configure' script:

# Check whether --with-gtkhtml or --without-gtkhtml was given.
if test "${with_gtkhtml+set}" = set; then
  withval="$with_gtkhtml"
  gtkhtml=$withval
else
  gtkhtml=libgtkhtml-3.0
fi;

Change the second last line to:

  gtkhtml=libgtkhtml-3.8

Open 'source/linux/MQBookmarkBrowser.cc' go to line 260:

    _menu.items()[3].set_sensitive(true); // New Folder

Change to:

    if (_menu.items().size() > 3)
      _menu.items()[3].set_sensitive(true); // New Folder

Run:

./configure
make
make install
cd ../mysql-gui-common
./configure
make
make install
Comments
Enter new comment:

The comment will only be accepted when the following question is answered correctly:
How many dwarfs are there in snow white and the seven dwarfs?

Solution:
Name:
URL:
(Dear handmade spam sender: The URL will only be linked to after my approval, which you will not get.)
Comment: