Skip to content

Commit

Permalink
Fix some steps of building Greenplum with GPORCA
Browse files Browse the repository at this point in the history
When follow the building guide to build gp in centos7, meet some problems.
 * Remove pysql from develop-dependencies.txt since it would meet an error
"install_script 'pysql_w32_postinst.py' not found in scripts" when
execute "pip install pysql".
 * Use absolute-path to rename cmake3 to cmake.
 * Run ldconfig after build orca to avoid "configure: error: Your
ORCA version is expected to be 2.67.XXX" error

Signed-off-by: zhanggang <[email protected]>
zhangg authored and danielgustafsson committed Oct 30, 2018
1 parent 47748b3 commit a6a0b1f
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.linux.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
- If you want to link cmake3 to cmake, run:

```bash
sudo ln -sf ../../bin/cmake3 /usr/local/bin/cmake
sudo ln -sf /usr/bin/cmake3 /usr/local/bin/cmake
```

- Make sure that you add `/usr/local/lib` and `/usr/local/lib64` to
@@ -57,7 +57,9 @@ Use dependency script for CentOS.
## Common Platform Tasks:

Make sure that you add `/usr/local/lib` to `/etc/ld.so.conf`,
then run command `ldconfig`.
then run command `ldconfig`. After building the optimizer, run
`ldconfig` again to make sure necessary links and cache have
been created for these shared libraries.

1. ORCA requires [CMake](https://cmake.org) 3.x; make sure you have it installed.
Installation instructions vary, please check the CMake website.
3 changes: 1 addition & 2 deletions python-developer-dependencies.txt
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@ Jinja2==2.10
parse-type==0.4.2
pexpect==4.4.0
PSI==0.3b2
pysql==0.16
PyYAML==3.12
ptyprocess==0.5.2
six==1.11.0
six==1.11.0

0 comments on commit a6a0b1f

Please sign in to comment.