Description:
Well against the documentation, the MySQL Query Browser doesn't build with installed MySQL client version 4.0.x (here 4.0.22). Documentation:
A.4.1. Prerequisites
To be able to build the MySQL GUI tools from source, you need the following software:
*
g++ development suite
*
gtk-2.x
*
gtkmm-2.0 or gtkmm-2.2
*
libglade-2.x
*
libxml-2.6.x
*
mysql client libraries (4.0 or newer, 5.0 prefered)
*
pcre-1.4
*
autoconf-2.54, automake-1.7.x
In addition, you will need gtkhtml-3.0.x to build the MySQL Query Browser.
I'm getting following error:
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux/gtksourceview/docs'
make[6]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux/gtksourceview/docs'
make[6]: Entering directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux/gtksourceview'
make[6]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux/gtksourceview'
make[5]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux/gtksourceview'
make[4]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux/gtksourceview'
i686-pc-linux-gnu-g++ -march=pentium4 -O3 -pipe -fomit-frame-pointer -o mysql-query-browser-bin main.o html.o MGCellRendererBlob.o MQPreferences.o MQPreferencesEditor.o MGResultSetModel.o MQQueryDispatcher.o MQMainWindow.o MQResultSetView.o MQWorkArea.o MQBaseTab.o MQResultTab.oMQScriptEditorTab.o MQBookmarks.o MQHistory.o MQBookmarkBrowser.o MQHistoryBrowser.o MQFunctionBrowser.o MQNewBookmarkDialog.o MQIndicatorCellRenderer.o MQQueryParameters.o MQTableClauseMenu.o MGCodeEditor.o MQBaseModule.o MQSavedState.o MGCompletionList.o ../../library/source/libqb.a ../../../mysql-gui-common/source/linux/libqbcommongui.a ../../../mysql-gui-common/library/source/libmysqlx.a ../../source/linux/gtksourceview/gtksourceview/.libs/libgtksourceview-1.0.a -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lgtkhtml-3.0 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lgal-2.0 -lgal-a11y-2.0 -lbonoboui-2 -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomecanvas-2 -lpangoft2-1.0 -lglade-2.0 -lgnomeprint-2-2 -lart_lgpl_2 -lxml2 -lpthread -lz -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -lpcre
../../../mysql-gui-common/library/source/libmysqlx.a(myx_recordset.o)(.text+0x4f0): In function `myx_query_execute':
: undefined reference to `mysql_more_results'
../../../mysql-gui-common/library/source/libmysqlx.a(myx_recordset.o)(.text+0x5f0): In function `myx_query_execute':
: undefined reference to `mysql_next_result'
collect2: ld returned 1 exit status
make[3]: *** [mysql-query-browser-bin] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.5/work/mysql-query-browser-1.1.5/mysql-query-browser/source'
make: *** [all-recursive] Error 1
I think there results, because some features of 4.1 aren't available for 4.0
How to repeat:
- Install MySQL 4.0.x
- Try to build MySQL Query Browser 1.1.5 from source
Suggested fix:
Well it would be nice when MySQL Query Browser builds with version 4.0.x.