madlib-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiufeng liu <toxiuf...@gmail.com>
Subject Compile error
Date Sat, 11 Aug 2018 16:54:42 GMT
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

Mime
View raw message