我正在Linux Centos 7.x版本上安装HAWQ DB,它在链接中提到的Make Install STEP中提供以下问题/hawq/build and 安装#tab-yum
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
我采取了链接中给出的所有步骤,任何身体都可以在这里对我有帮助。
假设它是由于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