- 论坛徽章:
- 0
|
官方二进制版本(mysql-gui-tools-5.0r12-linux-i386.tar.gz)存在Bug无法正常运行:unexpected character ‘@’, expected string constant需要下载源代码版本(mysql-gui-tools-5.0r12.tar.gz)编译。编译前需要安装的库:g++libmysqlclient15-devlibglade2-devlibglib2.0-devlibgtkmm-2.4-devlibpcre3-devlibxml2-dev然后执行cd mysql-gui-common./configuremakesudo make installcd ../mysql-administrator./configuremakesudo make install安装MySQL Administrator安装完成后mysql-administrator目录下有启动器
MySql Query安装./configure通不过错误提示如下checking for GNOME... configure: error: Package requirements (libglade-2.0gthread-2.0libxml-2.0 >= 2.6.2libgtkhtml-3.0gtkmm-2.4) were not met:No package 'libgtkhtml-3.0' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables GNOME_CFLAGSand GNOME_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.主要原因是Ubuntu的libgtkhtml版本是3.8这里需要的是3.0执行如下命令:sudo ln -s /usr/lib/pkgconfig/libgtkhtml-3.8.pc /usr/lib/pkgconfig/libgtkhtml-3.0.pc然后./configure即可通过。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51749/showart_406731.html |
|