编译tikv rust client 出错,请问是否遇到过?谢谢!

下载tikv rust client
1.执行 git clone https://github.com/tikv/client-rust.git
2. make
报错如下:

[root@localhost client-rust]# make

cargo check --all --all-targets --all-features
Compiling openssl-sys v0.9.71
Compiling regex v1.5.4
Checking num-integer v0.1.44
Checking flate2 v1.0.22
Compiling syn v0.15.44
Checking url v2.2.2
Compiling rand_chacha v0.3.1
Compiling prost-build v0.7.0
Checking rand_chacha v0.2.2
error: failed to run custom build command for openssl-sys v0.9.71

Caused by:
process didn’t exit successfully: /mnt/yp/client-rust/target/debug/build/openssl-sys-be97e818dcba4096/build-script-main (exit status: 101)
— stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(“true”)
CARGO_CFG_TARGET_FEATURE = Some(“fxsr,sse,sse2”)
running “perl” “./Configure” “–prefix=/mnt/yp/client-rust/target/debug/build/openssl-sys-ca1f00c992105fd6/out/openssl-build/install” “no-dso” “no-shared” “no-ssl3” “no-tests” “no-comp” “no-zlib” “no-zlib-dynamic” “–libdir=lib” “no-legacy” “no-md2” “no-rc5” “no-weak-ssl-ciphers” “no-camellia” “no-idea” “no-seed” “linux-x86_64” “-O2” “-ffunction-sections” “-fdata-sections” “-fPIC” “-g” “-fno-omit-frame-pointer” “-m64”

— stderr
Can’t locate IPC/Cmd.pm in @INC (@INC contains: /mnt/yp/client-rust/target/debug/build/openssl-sys-ca1f00c992105fd6/out/openssl-build/build/src/util/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /mnt/yp/client-rust/target/debug/build/openssl-sys-ca1f00c992105fd6/out/openssl-build/build/src/external/perl/Text-Template-1.56/lib) at /mnt/yp/client-rust/target/debug/build/openssl-sys-ca1f00c992105fd6/out/openssl-build/build/src/util/perl/OpenSSL/config.pm line 18.
BEGIN failed–compilation aborted at /mnt/yp/client-rust/target/debug/build/openssl-sys-ca1f00c992105fd6/out/openssl-build/build/src/util/perl/OpenSSL/config.pm line 18.
Compilation failed in require at ./Configure line 23.
BEGIN failed–compilation aborted at ./Configure line 23.
thread ‘main’ panicked at ’

Error configuring OpenSSL build:
Command: “perl” “./Configure” “–prefix=/mnt/yp/client-rust/target/debug/build/openssl-sys-ca1f00c992105fd6/out/openssl-build/install” “no-dso” “no-shared” “no-ssl3” “no-tests” “no-comp” “no-zlib” “no-zlib-dynamic” “–libdir=lib” “no-legacy” “no-md2” “no-rc5” “no-weak-ssl-ciphers” “no-camellia” “no-idea” “no-seed” “linux-x86_64” “-O2” “-ffunction-sections” “-fdata-sections” “-fPIC” “-g” “-fno-omit-frame-pointer” “-m64”
Exit status: exit status: 2

  ', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-300.0.2+3.0.0/src/lib.rs:492:13

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish…
error[E0034]: multiple applicable items in scope
–> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-derive-0.7.0/src/lib.rs:109:14
|
109 | .intersperse(quote!(|));
| ^^^^^^^^^^^ multiple intersperse found
|
= note: candidate #1 is defined in an impl of the trait Iterator for the type Map<I, F>
= note: candidate #2 is defined in an impl of the trait Itertools for the type T
help: disambiguate the associated function for candidate #1
|
105 ~ let tags = Iterator::intersperse(field
106 + .tags()
107 + .into_iter()
108 + .map(|tag| quote!(#tag)), {
109 + let mut _s = $crate::__private::TokenStream::new();
110 + $crate::quote_each_token!(_s $($tt));

help: disambiguate the associated function for candidate #2
|
105 ~ let tags = Itertools::intersperse(field
106 + .tags()
107 + .into_iter()
108 + .map(|tag| quote!(#tag)), {
109 + let mut _s = $crate::__private::TokenStream::new();
110 + $crate::quote_each_token!(_s $($tt)
);

For more information about this error, try rustc --explain E0034.
error: build failed
make: *** [check] Error 101

已经编译通过,需要更换OpenSSL版本