Bug #2910 MySQL Administrator doesn't compile
Description:
make[2]: Entering directory `/tmp/temp/mysql-administrator/mysqlcommonguiparts/source/linux'
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libMySQLCommonGUIParts\" -DVERSION=\"0.1.0\" -I. -I.
-I/usr/include/libxml2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0
-I/usr/include/libglade-2.0 -I/usr/include/mysql -mcpu=pentium2 -pipe -mmmx
-fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS
-I../../../mysqladministratorlibrary/include
-I../../../mysqlxlibrary/{include,public_interface/linux}
-DAPP_DATADIR=\""/usr/local/share/mysql-gui/common"\"
-DAPP_LOCALE_DIR=\""/usr/local//locale"\" -g -O2 -c MGConnectDialog.cc
MGConnectDialog.cc: In member function `virtual bool MGConnectDialog::run(const
Glib::ustring&, int)':
MGConnectDialog.cc:237: error: `gettext' undeclared (first use this function)
MGConnectDialog.cc:237: error: (Each undeclared identifier is reported only
once for each function it appears in.)
MGConnectDialog.cc: In member function `void
MGConnectDialog::load_connection_list(const std::string&)':
MGConnectDialog.cc:390: error: `gettext' undeclared (first use this function)
MGConnectDialog.cc: In member function `void
MGConnectDialog::show_connection_failed()':
MGConnectDialog.cc:554: error: `gettext' undeclared (first use this function)
MGConnectDialog.cc: In member function `void
MGConnectDialog::on_details_button_clicked()':
MGConnectDialog.cc:937: error: `gettext' undeclared (first use this function)
make[2]: *** [MGConnectDialog.o] Error 1
make[2]: Leaving directory `/tmp/temp/mysql-administrator/mysqlcommonguiparts/source/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/temp/mysql-administrator/mysqlcommonguiparts/source'
make: *** [all-recursive] Error 1
Also, some fonts, for example in health monitor, are *very* small and very hard (almost impossible) to read. And there seems to be no way to change them either.
How to repeat:
cd mysqlcommonguiparts
WANT_AUTOCONF=2.5 sh autogen.sh
make
Suggested fix:
Put:
#include <libintl.h>
In: mysqlcommonguiparts/source/linux/MGConnectDialog.cc
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: make[2]: Entering directory `/tmp/temp/mysql-administrator/mysqlcommonguiparts/source/linux' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libMySQLCommonGUIParts\" -DVERSION=\"0.1.0\" -I. -I. -I/usr/include/libxml2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/mysql -mcpu=pentium2 -pipe -mmmx -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I../../../mysqladministratorlibrary/include -I../../../mysqlxlibrary/{include,public_interface/linux} -DAPP_DATADIR=\""/usr/local/share/mysql-gui/common"\" -DAPP_LOCALE_DIR=\""/usr/local//locale"\" -g -O2 -c MGConnectDialog.cc MGConnectDialog.cc: In member function `virtual bool MGConnectDialog::run(const Glib::ustring&, int)': MGConnectDialog.cc:237: error: `gettext' undeclared (first use this function) MGConnectDialog.cc:237: error: (Each undeclared identifier is reported only once for each function it appears in.) MGConnectDialog.cc: In member function `void MGConnectDialog::load_connection_list(const std::string&)': MGConnectDialog.cc:390: error: `gettext' undeclared (first use this function) MGConnectDialog.cc: In member function `void MGConnectDialog::show_connection_failed()': MGConnectDialog.cc:554: error: `gettext' undeclared (first use this function) MGConnectDialog.cc: In member function `void MGConnectDialog::on_details_button_clicked()': MGConnectDialog.cc:937: error: `gettext' undeclared (first use this function) make[2]: *** [MGConnectDialog.o] Error 1 make[2]: Leaving directory `/tmp/temp/mysql-administrator/mysqlcommonguiparts/source/linux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/temp/mysql-administrator/mysqlcommonguiparts/source' make: *** [all-recursive] Error 1 Also, some fonts, for example in health monitor, are *very* small and very hard (almost impossible) to read. And there seems to be no way to change them either. How to repeat: cd mysqlcommonguiparts WANT_AUTOCONF=2.5 sh autogen.sh make Suggested fix: Put: #include <libintl.h> In: mysqlcommonguiparts/source/linux/MGConnectDialog.cc