cd /opt/gpdb/ # --prefix 指定安装路径 ./configure --with-perl --with-python --with-libxml --with-gssapi --prefix=/opt/gp_bin # 以上默认是release版本,如果需要debug,则: CFLAGS="-O0 -g3 -ggdb3" ./configure --with-perl --with-python --with-libxml --with-gssapi --enable-debug --enable-debug-extensions --prefix=/opt/gp_bin # 编译安装 make -j8 make install