步骤
wget https://cdn.mysql.com/archives/mysql-proxy/mysql-proxy-0.8.5.tar.gz
tar -zxvf mysql-proxy-0.8.5.tar.gz
cd mysql-proxy-0.8.5
./configure --prefix=/usr/local/mysql-proxy
问题处理
问题:configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
解决:
安装 pkg-config
wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.tar.gz
tar -zxvf pkg-config-0.29.tar.gz
cd pkg-config-0.29
./configure --prefix=/usr/local/pkg-config --with-internal-glib
make
make install

本文介绍了如何通过wget下载并安装MySQL Proxy 0.8.5版本,包括配置前缀路径的具体步骤。此外,还详细记录了在configure过程中遇到的pkg-config错误及其解决方案,包括下载、编译和安装pkg-config的过程。
1807

被折叠的 条评论
为什么被折叠?



