incubator-doris cannot stat './zstd_ep-install/lib/libzstd.a': No such

ycl3bljg  于 2022-04-22  发布在  Java
关注(0)|答案(4)|浏览(196)

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:

  1. ./build.sh

Desktop (please complete the following information):

  • OS: Ubuntu
x4shl7ld

x4shl7ld1#

Hi, are you using gcc >= 10.3?

x0fgdtte

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

相关问题