Bug #15905 Impossible to build Query Browser on open SuSE 10.0 x86_64
Submitted: 21 Dec 2005 12:33 Modified: 22 Jan 2006 23:08
Reporter: Steve Ruane Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.1.17 OS:Open SuSE 10.0 x86.64
Assigned to: CPU Architecture:Any

[21 Dec 2005 12:33] Steve Ruane
Description:
Attempt to build query Browser:

sh ./autogen.sh --with-gtkhtml=ligbthhtml=3.0

results in:

MGResultSetModel.cc: In member function ‘virtual void MGResultSetModel::get_value_vfunc(const Gtk::TreeIter&, int, Glib::ValueBase&) const’:
MGResultSetModel.cc:402: error: no matching function for call to ‘MGResultSetModel::get_value(const Gtk::TreeIter&, int&, void*&, gsize&) const
’
MGResultSetModel.cc:259: note: candidates are: bool MGResultSetModel::get_value(const Gtk::TreeIter&, unsigned int, void*&, guint&) const
{standard input}: Assembler messages:
{standard input}:5204: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol `_ZNK16MGResultSetModel19iter_children_vfuncERKN3Gtk
8TreeIterERS1_'
{standard input}:5204: Error: Local symbol `.LTHUNK1' can't be equated to undefined symbol `_ZNK16MGResultSetModel20iter_has_child_vfuncERKN3Gt
k8TreeIterE'
{standard input}:5204: Error: Local symbol `.LTHUNK2' can't be equated to undefined symbol `_ZNK16MGResultSetModel21iter_n_children_vfuncERKN3G
tk8TreeIterE'
{standard input}:5204: Error: Local symbol `.LTHUNK3' can't be equated to undefined symbol `_ZNK16MGResultSetModel17iter_parent_vfuncERKN3Gtk8T
reeIterERS1_'
{standard input}:5204: Error: Local symbol `.LTHUNK4' can't be equated to undefined symbol `_ZNK16MGResultSetModel14ref_node_vfuncERKN3Gtk8Tree
IterE'
{standard input}:5204: Error: Local symbol `.LTHUNK5' can't be equated to undefined symbol `_ZNK16MGResultSetModel16unref_node_vfuncERKN3Gtk8Tr
eeIterE'
{standard input}:5204: Error: Local symbol `.LTHUNK6' can't be equated to undefined symbol `_ZN16MGResultSetModel14set_value_implERKN3Gtk8TreeI
terEiRKN4Glib9ValueBaseE'
{standard input}:5204: Error: Local symbol `.LTHUNK7' can't be equated to undefined symbol `_ZNK16MGResultSetModel14get_path_vfuncERKN3Gtk8Tree
IterE'
{standard input}:5204: Error: Local symbol `.LTHUNK8' can't be equated to undefined symbol `_ZNK16MGResultSetModel15get_value_vfuncERKN3Gtk8Tre
eIterEiRN4Glib9ValueBaseE'
{standard input}:5204: Error: Local symbol `.LTHUNK9' can't be equated to undefined symbol `_ZNK16MGResultSetModel15iter_next_vfuncERKN3Gtk8Tre
eIterERS1_'
{standard input}:5204: Error: Local symbol `.LTHUNK10' can't be equated to undefined symbol `_ZNK16MGResultSetModel20iter_nth_child_vfuncERKN3G tk8TreeIterEiRS1_'
{standard input}:5204: Error: Local symbol `.LTHUNK11' can't be equated to undefined symbol `_ZNK16MGResultSetModel14get_iter_vfuncERKN3Gtk8Tre ePathERNS0_8TreeIterE'
{standard input}:5204: Error: Local symbol `.LTHUNK12' can't be equated to undefined symbol `_ZN16MGResultSetModelD1Ev'
{standard input}:5204: Error: Local symbol `.LTHUNK13' can't be equated to undefined symbol `_ZN16MGResultSetModelD1Ev'
{standard input}:5204: Error: Local symbol `.LTHUNK14' can't be equated to undefined symbol `_ZN16MGResultSetModelD1Ev'
{standard input}:5204: Error: Local symbol `.LTHUNK15' can't be equated to undefined symbol `_ZN16MGResultSetModelD0Ev'
{standard input}:5204: Error: Local symbol `.LTHUNK16' can't be equated to undefined symbol `_ZN16MGResultSetModelD0Ev'
{standard input}:5204: Error: Local symbol `.LTHUNK17' can't be equated to undefined symbol `_ZN16MGResultSetModelD0Ev'

Note that without specifying lingthhtml-3.8, the build fails when it can't find libgtkhtml-3.0

How to repeat:
Attempt to build Mysql Query Browser 1.1.17 on Open SuSE 10.0 x86_64
[5 Jan 2006 21:06] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html
[6 Jan 2006 1:16] Steve Ruane
Thank you for your help.

Where is the source tree for the Query Browser? The link you provided explains how to get the source tree for the database engine. The online Query Browser documention shows how to get the source tree for mysql-administrator.

Where is the source tree for Query Browser?
[12 Jan 2006 7:29] Valeriy Kravchuk
Quote from the Online Help ()

"Our public BitKeeper trees that contain the MySQL GUI tools source code can be retrieved by the following BitKeeper commands: 

     bk clone bk://mysql.bkbits.net/mysql-administrator mysql-administrator
     bk clone bk://mysql.bkbits.net/mysql-gui-common mysql-gui-common
     bk clone bk://mysql.bkbits.net/mysql-query-browser mysql-query-browser
    
You will need the mysql-gui-common tree regardless of which GUI tools you intend to build. The mysql-gui-common tree contains source and graphics files used for all MySQL GUI tools"

Please, note the last bk clone line. Try to get and build current sources, if you want, and inform about the results.
[22 Jan 2006 23:08] Steve Ruane
query browser 1.1.18 will build on OpenSuSE x86_64