apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.77k stars 3.29k forks source link

memory_scratch_sink.cpp:20:10: fatal error #5434

Open zhangxinjian123 opened 3 years ago

zhangxinjian123 commented 3 years ago

/alidata1/soft/apache-doris-0.12.0-incubating-src/be/src/runtime/memory_scratch_sink.cpp:20:10: fatal error: arrow/memory_pool.h: No such file or directory

include <arrow/memory_pool.h>

      ^~~~~~~~~~~~~~~~~~~~~

compilation terminated. make[2]: [src/runtime/CMakeFiles/Runtime.dir/memory_scratch_sink.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... [ 79%] Building CXX object src/olap/CMakeFiles/Olap.dir/task/engine_publish_version_task.cpp.o make[1]: [src/runtime/CMakeFiles/Runtime.dir/all] Error 2 [ 79%] Building CXX object src/olap/CMakeFiles/Olap.dir/task/engine_alter_tablet_task.cpp.o [ 79%] Building CXX object src/olap/CMakeFiles/Olap.dir/olap_snapshot_converter.cpp.o [ 79%] Linking CXX static library libOlap.a [ 79%] Built target Olap make: [all] Error 2

HappenLee commented 3 years ago

It's look like gcc can not find the lib of arrow, do you use docker to complie the Doris?

zhangxinjian123 commented 3 years ago

no,Direct Compilation

HappenLee commented 3 years ago

no,Direct Compilation

Maybe you shoule build the lib of arrow and try again or use docker to compile Doris[It's we recommend way].

zhangxinjian123 commented 3 years ago

I've tried several times,but it is still error