Bug #2909 MySQL Administrator doesn't compile
Submitted: 20 Feb 2004 15:40 Modified: 21 Feb 2004 23:57
Reporter: Magnus Määttä Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.0.1a OS:Linux (Gentoo Linux Unstable)
Assigned to: CPU Architecture:Any

[20 Feb 2004 15:40] Magnus Määttä
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_SUTOCONF=2.5 sh autogen.sh
make

Suggested fix:
Put:
#include <libintl.h>

In: mysqlcommonguiparts/source/linux/MGConnectDialog.cc
[20 Feb 2004 15:42] Magnus Määttä
Hrm.. Submitted twice.. This one got a typo..
WANT_AUTOCONF=2.5 sh autogen.sh

#2910 is the duplicate...
[20 Feb 2004 15:45] Magnus Määttä
Almost impossible to read the text.

Attachment: impossible_to_read.png (image/png, text), 6.16 KiB.

[21 Feb 2004 23:57] 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