greenplum编译安装

(该操作是在联网的情况下进行的,如果在安装某些依赖时无法进行安装,请尝试离线方式安装)

1.下载源码:(如果在WINS系统下载该源码,会导致配置文件出现编码问题,建议直接在LINUX上下载)
git clone https://github.com/greenplum-db/gpdb
2.安装依赖:
yum install curl-devel bzip2-devel python-devel openssl-devel
yum install perl-ExtUtils-Embed 
yum install libxml2-devel
yum install openldap-devel
yum install pam pam-devel
yum install perl-devel
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install psi lockfile paramiko setuptools epydoc
pip install psutil
yum install python-psutil
yum install apr-devel libyaml-devel libevent-devel
yum install bison
yum install flex
yum install gcc-c++


3.开始编译:
./configure --prefix=/root/gpmaster  --with-gssapi --with-pgport=5432  --with-libedit-preferred --with-perl --with-python --with-openssl --with-pam  --with-krb5 --with-ldap --with-libxml  --enable-cassert --enable-debug  --enable-testutils --enable-debugbreak --enable-depend


make


make install

你可能感兴趣的:(greenplum,源码,greenplum,git,linux)