CentOS7.9编译安装Greenplum Database 6.22.0

软件地址:
https://github.com/greenplum-db/gpdb/releases/download/6.22.0/6.22.0-src-full.tar.gz
 
前提条件
yum update -y
yum -y install epel-release
yum –y install python-pip
yum install -y lrzsz

 

设置python国内下载源

mkdir -p ~/.pip
vi ~/.pip/pip.conf

添加如下内容

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn

 

解压安装

tar -zxvf 6.22.0-src-full.tar.gz
cd gpdb_src
sh README.CentOS.bash
#执行configure
./configure --prefix=/opt/greenplum-db --enable-orca --enable-gpperfmon --with-perl --with-python --with-libxml --enable-mapreduce --with-includes=/usr/local/include/ --with-libraries=/usr/local/lib

 执行configure会出现报错,如下所示

这时候需要安装cmake 和 libsigar

安装cmake

yum install -y cmake
或者
cd cmake-3.11.0 ./bootstrap gmake gmake install cmake --version

 安装libsigar

#下载地址:
https://github.com/hyperic/sigar/
cd sigar
mkdir build
cd build
cmake .. && make && make install

 

 继续

yum install -y apr-util*
./configure --prefix=/opt/greenplum-db --enable-orca --enable-gpperfmon --with-perl --with-python --with-libxml --enable-mapreduce --with-includes=/usr/local/include/ --with-libraries=/usr/local/lib
make -j 32
make install

 

 

 

posted @   李小期  阅读(118)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
点击右上角即可分享
微信分享提示