greenplum 安装 -1- 源码编译安装

参考:
整体流程

linux 下的环境配置说明

源码包

https://github.com/greenplum-db/gpdb/releases

安装依赖

bash README.CentOS.bash
报错:
Error: Unable to find a match: libyaml-devel python-devel python-pip
解决方法 - 单独安装不存在的包:
yum install python2

yum install python2-devel

ln -s /usr/bin/python2 /usr/bin/python
ln -s /usr/bin/pip2 /usr/bin/pip

yum install libyaml.x86_64
cp README.CentOS.bash README.CentOS.bash1
vi  README.CentOS.bash1
# 删除
python-devel \
python-pip \
libyaml-devel \

# 通过-i指定pip源,否则经常出现timeout
pip install conan  -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install -r python-dependencies.txt -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install -r python-developer-dependencies.txt -i https://pypi.mirrors.ustc.edu.cn/simple/

configure

./configure --with-perl --with-python --with-libxml --with-gssapi --prefix=/usr/local/gpdb

yum install cmake3

configure

make -j8
make install -j8

你可能感兴趣的:(greenplum)