You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by Frank McQuillan <fm...@pivotal.io> on 2018/08/11 18:12:56 UTC

Re: Compile error

Hi,

Ubuntu support is the main theme of the next 1.15.1 release:
https://issues.apache.org/jira/projects/MADLIB/versions/12343760

Please see the current database and OS support matrix:
https://cwiki.apache.org/confluence/display/MADLIB/FAQ#FAQ-Q1-2WhatdatabaseplatformsdoesMADlibsupportandwhatistheupgradematrix
?

Other folks working on the JIRAs for Ubuntu support, please add any other
comments to this thread.

Frank



On Sat, Aug 11, 2018 at 9:54 AM, xiufeng liu <to...@gmail.com> wrote:

> Hi,
> When I compile Madlib for Postgresql 10 on Ubuntu 18.04, I got the
> following error. But, I have already install libboost1.65-all-dev,
> and libboost1.65-dev
> Could anybody help? thanks
>
> /afancy
>
> [ 42%] Built target pythonFiles_postgresql_10
> make[3]: Entering directory '/tmp/tmpJa2FVT/madlib-1.14.0/build'
> Scanning dependencies of target madlib_postgresql_10
> make[3]: Leaving directory '/tmp/tmpJa2FVT/madlib-1.14.0/build'
> make[3]: Entering directory '/tmp/tmpJa2FVT/madlib-1.14.0/build'
> [ 42%] Building CXX object src/ports/postgres/10/
> CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/assoc_
> rules/assoc_rules.cpp.o
> In file included from /tmp/tmpJa2FVT/madlib-1.14.0/
> src/modules/assoc_rules/assoc_rules.cpp:11:0:
> /tmp/tmpJa2FVT/madlib-1.14.0/src/ports/postgres/
> dbconnector/dbconnector.hpp:88:10: fatal error: boost/tr1/array.hpp: No
> such file or directory
>  #include <boost/tr1/array.hpp>
>           ^~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/build.make:62:
> recipe for target 'src/ports/postgres/10/CMakeFiles/madlib_postgresql_
> 10.dir/__/__/__/modules/assoc_rules/assoc_rules.cpp.o' failed
> make[3]: *** [src/ports/postgres/10/CMakeFiles/madlib_postgresql_
> 10.dir/__/__/__/modules/assoc_rules/assoc_rules.cpp.o] Error 1
> make[3]: Leaving directory '/tmp/tmpJa2FVT/madlib-1.14.0/build'
> CMakeFiles/Makefile2:781: recipe for target 'src/ports/postgres/10/
> CMakeFiles/madlib_postgresql_10.dir/all' failed
> make[2]: *** [src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/all]
> Error 2
> make[2]: Leaving directory '/tmp/tmpJa2FVT/madlib-1.14.0/build'
> Makefile:151: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/tmp/tmpJa2FVT/madlib-1.14.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
>
>