When I install sui-move-analyzer using the command cargo install --git http://github.com/movebit/sui-move-analyzer --branch master sui-move-analyzer, an error occurs as below:
warning: build failed, waiting for other jobs to finish...
error: failed to compile sui-move-analyzer v1.2.0 (http://github.com/movebit/sui-move-analyzer?branch=master#49362125), intermediate artifacts can be found at /var/folders/g8/sntz57tx6rv51psy3xhvhcwm0000gn/T/cargo-installJbBaDo.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.`
When I install sui-move-analyzer using the command
cargo install --git http://github.com/movebit/sui-move-analyzer --branch master sui-move-analyzer
, an error occurs as below:`error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-apple-darwin" "-mmacosx-version-min=15.0" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "snappy/" "-I" "/var/folders/g8/sntz57tx6rv51psy3xhvhcwm0000gn/T/cargo-installJbBaDo/release/build/lz4-sys-10685e096c073254/out/include" "-I" "/Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zstd-sys-2.0.13+zstd.1.5.6/zstd/lib" "-I" "/var/folders/g8/sntz57tx6rv51psy3xhvhcwm0000gn/T/cargo-installJbBaDo/release/build/libz-sys-1a7c6f655a4e40bb/out/include" "-I" "." "-Wall" "-Wextra" "-std=c++17" "-Wsign-compare" "-Wshadow" "-Wno-unused-parameter" "-Wno-unused-variable" "-Woverloaded-virtual" "-Wnon-virtual-dtor" "-Wno-missing-field-initializers" "-Wno-strict-aliasing" "-Wno-invalid-offsetof" "-msse2" "-msse4.1" "-std=c++17" "-DSNAPPY=1" "-DLZ4=1" "-DZSTD=1" "-DZLIB=1" "-DNDEBUG=1" "-DOS_MACOSX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-o" "/var/folders/g8/sntz57tx6rv51psy3xhvhcwm0000gn/T/cargo-installJbBaDo/release/build/librocksdb-sys-fd3efddbf0d280e9/out/d1fba762150c532c-build_version.o" "-c" "build_version.cc" with args c++ did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish... error: failed to compile
sui-move-analyzer v1.2.0 (http://github.com/movebit/sui-move-analyzer?branch=master#49362125)
, intermediate artifacts can be found at/var/folders/g8/sntz57tx6rv51psy3xhvhcwm0000gn/T/cargo-installJbBaDo
. To reuse those artifacts with a future compilation, set the environment variableCARGO_TARGET_DIR
to that path.`Os: MacOs 15.0 Prcessor: 1,4 GHz Quad-Core Intel Core i5 Rust version: rustc 1.81.0 Cargo version: cargo 1.81.0