命令pgxn install madlib
在 UBUNTU 16 LTS (xenial)上出现了很多错误... UBUNTU的MADLib安装有错误吗?
INFO: best version: madlib 1.10.0 INFO: saving /tmp/tmpZPEFvN/madlib-1.10.0.zip INFO: unpacking: /tmp/tmpZPEFvN/madlib-1.10.0.zip INFO: running configure -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:14 (project): The CMAKE_CXX_COMPILER: sunCC;g++ is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. CMake Error at /usr/share/cmake-3.5/Modules/CMakeCXXInformation.cmake:61 (include): include called with wrong number of arguments. include() only takes one file. Call Stack (most recent call first): CMakeLists.txt:14 (project) -- Configuring incomplete, errors occurred! See also "/tmp/tmpZPEFvN/madlib-1.10.0/build/CMakeFiles/CMakeOutput.log". See also "/tmp/tmpZPEFvN/madlib-1.10.0/build/CMakeFiles/CMakeError.log". INFO: building extension make -C build all make[1]: Entering directory '/tmp/tmpZPEFvN/madlib-1.10.0/build' make[1]: *** No rule to make target 'all'. Stop. make[1]: Leaving directory '/tmp/tmpZPEFvN/madlib-1.10.0/build' Makefile:5: recipe for target 'all' failed make: *** [all] Error 2 ERROR: command returned 2: make PG_CONFIG=/usr/bin/pg_config all