Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Postgresql pgxn安装madlib UBUNTU 16 LTS不工作_Postgresql_Ubuntu 16.04_Madlib - Fatal编程技术网

Postgresql pgxn安装madlib UBUNTU 16 LTS不工作

Postgresql pgxn安装madlib UBUNTU 16 LTS不工作,postgresql,ubuntu-16.04,madlib,Postgresql,Ubuntu 16.04,Madlib,命令pgxn install madlib在Ubuntu16 LTS(xenial)上出现了很多错误。。。UBUNTU的MADLib安装有bug吗 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 iden

命令
pgxn install madlib
在Ubuntu16 LTS(xenial)上出现了很多错误。。。UBUNTU的MADLib安装有bug吗

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 信息:最佳版本:madlib 1.10.0 信息:saving/tmp/tmpZPEFvN/madlib-1.10.0.zip 信息:解包:/tmp/tmpZPEFvN/madlib-1.10.0.zip 信息:正在运行配置 --C编译器标识为GNU5.4.0 --CXX编译器标识未知 --检查C编译器是否工作:/usr/bin/gcc --检查C编译器是否正常工作:/usr/bin/gcc--works --检测C编译器ABI信息 --检测C编译器ABI信息-完成 --检测C编译特性 --检测C编译特性-完成 CMakeLists.txt:14处的CMake错误(项目): CMAKE_CXX_编译器: sunCC;g++ 不是完整路径,在路径中找不到。 通过设置环境或 变量“CXX”或CMake缓存条目CMake_CXX_编译器指向完整路径 到编译器,或到编译器名称(如果在路径中)。 CMake错误位于/usr/share/CMake-3.5/Modules/cmakexxinformation。CMake:61(包括): 包含使用错误数量的参数调用的。include()只需要一个 文件 调用堆栈(最新调用优先): CMakeLists.txt:14(项目) --配置不完整,出现错误! 另请参见“/tmp/tmpZPEFvN/madlib-1.10.0/build/cmakfiles/cmakoutput.log”。 另请参见“/tmp/tmpZPEFvN/madlib-1.10.0/build/cmakfiles/CMakeError.log”。 信息:大厦扩建 make-C构建所有 make[1]:输入目录“/tmp/tmpZPEFvN/madlib-1.10.0/build” 生成[1]:***没有规则将目标设置为“全部”。停止 make[1]:离开目录“/tmp/tmpZPEFvN/madlib-1.10.0/build” Makefile:5:目标“全部”的配方失败 make:**[全部]错误2 错误:命令返回2:make PG_CONFIG=/usr/bin/PG_CONFIG all

也见< /P>,你的C++编译器的路径是什么?madlib的文档中是否需要特定版本?如果没有至少一些基本的信息,就很难说太多。@Hi@RichardHuxton谢谢。关于“C++编译器的路径”,它是StADANDRUbuntu LTS,<代码> G++版本< /C> >“G++(Ubuntu5.4.06Ubuntu1~16.04.4)5.4.0 20160609”(2015)。代码>ls-lh/usr/bin/gcc=“/usr/bin/gcc->gcc-5”。。但是

sourceg++
=“-bash:source:/usr/bin/g++:无法执行二进制文件”。