Commit 1f9337fe authored by yumaojun's avatar yumaojun

fix (install.py):  compatible fedora

1. mysql-python编译不过, 添加rpm-build 依赖
parent 427fda10
...@@ -215,7 +215,7 @@ class PreSetup(object): ...@@ -215,7 +215,7 @@ class PreSetup(object):
def _depend_rpm(self): def _depend_rpm(self):
color_print('开始安装依赖包', 'green') color_print('开始安装依赖包', 'green')
if self._is_redhat: if self._is_redhat:
bash('yum -y install git python-pip mysql-devel gcc automake autoconf python-devel vim sshpass lrzsz readline-devel') bash('yum -y install git python-pip mysql-devel rpm-build gcc automake autoconf python-devel vim sshpass lrzsz readline-devel')
if self._is_ubuntu: if self._is_ubuntu:
bash("apt-get -y --force-yes install git python-pip gcc automake autoconf vim sshpass libmysqld-dev python-all-dev lrzsz libreadline-dev") bash("apt-get -y --force-yes install git python-pip gcc automake autoconf vim sshpass libmysqld-dev python-all-dev lrzsz libreadline-dev")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment