The following error occurs when the official component (mysql-gui-tools-5.0r12-linux-i386.tar.gz) fails to run in Ubuntu 7.10:
Unexpected character '@', expected string constant
Download source code (mysql-gui-tools-5.0r12.tar.gz.
Libraries to be installed before Compilation:
G ++
Libmysqlclient15-dev
Libglade2-dev
Libglib2.0-dev
Libgtkmm-2.4-dev
Libpcre3-dev
Libxml2-dev
Then execute
Cd mysql-gui-common
./Configure
Make
Sudo make install
Cd ../mysql-administrator
./Configure
Make
Sudo make install
Install MySQL Administrator
After the installation is complete, the mysql-administrator directory contains the initiator.
MySql Query Installation
./Configure cannot pass
The error message is as follows:
Checking for GNOME... configure: error: Package requirements (libglade-2.0
Gthread-2.0
Libxml-2.0> = 2.6.2
Libgtkhtml-3.0
Gtkmm-2.4) were not met:
No package 'libgtkhtml-3.0 'found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
Installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOME_CFLAGS
And GNOME_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The main reason is that the libgtkhtml version of Ubuntu is 3.8. Here we need 3.0.
Run the following command:
Sudo ln-s/usr/lib/pkgconfig/libgtkhtml-3.8.pc/usr/lib/pkgconfig/libgtkhtml-3.0.pc
Then./configure can be passed.