Install MySQL GUI Tools r12 in Ubuntu 7.10

Source: Internet
Author: User
Tags mysql query mysql gui mysql gui tools

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.