Describe the bug
When I build the Doris and it report failed. like this:
[ 92%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/deprecated_io.cc.o
[ 92%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/encoding.cc.o
[ 93%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/file_reader.cc.o
[ 93%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/file_writer.cc.o
[ 94%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/metadata.cc.o
[ 94%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/murmur3.cc.o
[ 95%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/parquet_constants.cpp.o
[ 96%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/parquet_types.cpp.o
[ 96%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/platform.cc.o
[ 97%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/printer.cc.o
[ 97%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/properties.cc.o
[ 98%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/schema.cc.o
[ 98%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/statistics.cc.o
[ 99%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/types.cc.o
[ 99%] Built target parquet_objlib
Makefile:138: recipe for target 'all' failed
make:***[all] Error 2
cp: cannot stat './zstd_ep-install/lib/libzstd.a': No such file or directory
To Reproduce
Steps to reproduce the behavior:
- ./build.sh
Desktop (please complete the following information):
- OS: Ubuntu
4条答案
按热度按时间x4shl7ld1#
Hi, are you using gcc >= 10.3?
x0fgdtte2#
sudo apt install build-essential openjdk-8-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python brotli
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt update
sudo apt install gcc-10 g++-10
sudo apt-get install autoconf automake libtool autopoint
It is not recommended to compile on a physical machine, use docker to compile
8xiog9wr3#
https://www.jianshu.com/p/1d2e8feeec41
Refer to the method in my article
7xzttuei4#
https://www.jianshu.com/p/1d2e8feeec41 Refer to the method in my article
谢谢