无法在Centos 7.x版本中成功安装HAWQ DB

时间:2017-11-21 14:29:23

标签: hawq

我正在Linux Centos 7.X版本上安装HAWQ DB,它在链接https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install#tab-yum中提到的make install步骤中给出了以下问题

make[2]: *** [install] Error 1
make[2]: Leaving directory `/ApacheSoft/incubator-hawq/depends/thirdparty/googletest/build'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/ApacheSoft/incubator-hawq/depends/thirdparty/googletest'
make: *** [install] Error 2

我已按照链接中的顺序执行了所有步骤,任何正文都可以帮助我。

1 个答案:

答案 0 :(得分:0)

假设它是由于cmake引起的:

make -C depends/thirdparty/googletest install
make[1]: Entering directory `/home/build/hawq/depends/thirdparty/googletest'
cd ../../..//depends/thirdparty/googletest/ && mkdir -p build && cd build && 
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/hawq ..
/bin/sh: cmake: command not found
make[1]: *** [pre-config] Error 127
make[1]: Leaving directory `/home/build/hawq/depends/thirdparty/googletest'
make: *** [install] Error 2

您可以尝试按如下方式创建符号链接:

ln -s /usr/bin/cmake3 /usr/bin/cmake