Description:
The build of mysql-gui-common failed. Here is the last part of the output from make:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mysql-gui-common\" -DVERSION=\"0.6.0\" -I. -I. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/mysql -march=i486 -mcpu=i686 -I../../library/include -I../../library/shared_include -I../../library_grt/include -I../../library_grt_modules/include -I../../library_grt_workbench/include -I../../library_gc/include -I../../library_gc/ftgl/include -I.. -DDATADIRNAME=\""share"\" -DCOMMONDIRNAME=\"""\" -g -O2 -MT MGTableEditor.o -MD -MP -MF ".deps/MGTableEditor.Tpo" -c -o MGTableEditor.o MGTableEditor.cc; \
then mv -f ".deps/MGTableEditor.Tpo" ".deps/MGTableEditor.Po"; else rm -f ".deps/MGTableEditor.Tpo"; exit 1; fi
MGTableEditor.cc: In constructor `MGTableEditor::MGTableEditor(bool)':
MGTableEditor.cc:229: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc:229: error: (Each undeclared identifier is reported only once
for each function it appears in.)
MGTableEditor.cc: In member function `void
MGTableEditor::show_table_info(MYX_DBM_TABLE_DATA*)':
MGTableEditor.cc:314: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc: In member function `void
MGTableEditor::show_column_info(MYX_DBM_TABLE_DATA*, const Gtk::TreeIter&)':
MGTableEditor.cc:471: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc: In member function `void
MGTableEditor::show_fk_info(MYX_DBM_TABLE_DATA*, const Gtk::TreeIter&)':
MGTableEditor.cc:701: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc: In member function `void MGTableEditor::column_edited(const
Glib::ustring&, const Glib::ustring&, int)':
MGTableEditor.cc:1192: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc: In member function `void
MGTableEditor::column_option_changed(const char*)':
MGTableEditor.cc:1314: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc: In member function `void
MGTableEditor::fk_option_changed(const char*)':
MGTableEditor.cc:1616: error: `get_entry' undeclared (first use this function)
MGTableEditor.cc: In member function `void MGTableEditor::commit_changes()':
MGTableEditor.cc:1797: error: `get_entry' undeclared (first use this function)
make[2]: *** [MGTableEditor.o] Error 1
make[2]: Leaving directory `/mnt/raid/download/computer/software/mysql/src/mysql-query-browser-1.1.17/mysql-gui-common/source/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/raid/download/computer/software/mysql/src/mysql-query-browser-1.1.17/mysql-gui-common/source'
make: *** [all-recursive] Error 1
NOTE: I have glade-2.6.0, gtkmm-2.4.11 and glibmm-2.4.7 installed. I am using gcc version 3.3.6.
How to repeat:
cd mysql-gui-common
./configure
make
Suggested fix:
In tags/linux-before-gtkmm2.4/MGGladeXML.h and source/linux/MGGladeXML.h, there are declarations for get_entry:
Gtk::Entry *get_entry(const Glib::ustring &name) const;
However, the failing call to it passes no argument. Is it intended to call the default constructor for ustring?
Is configure not checking for glade, gtkmm or glibmm properly? Perhaps, I have a version of one which is too old, and configure did not detect this.
Is there a file missing from the tarball? (seems unlikely)
I am not familiar with these libraries, so my questions can be taken as "guesses".