Issues With Rust Cargo (installing Solana Anchor framework

This page summarizes the projects mentioned and recommended in the original post on /r/openSUSE

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • anchor

    ⚓ Solana Sealevel Framework

  • cargo install --git https://github.com/project-serum/anchor avm --locked --force Updating git repository `https://github.com/project-serum/anchor` Installing avm v0.22.1 (https://github.com/project-serum/anchor#552789a0) Updating crates.io index warning: package `crossbeam-utils v0.8.5` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked warning: package `sha2 v0.9.8` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked Compiling autocfg v1.0.1 Compiling libc v0.2.107 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.32 Compiling unicode-xid v0.2.2 Compiling memchr v2.4.1 Compiling log v0.4.14 Compiling syn v1.0.81 Compiling pin-project-lite v0.2.7 Compiling cc v1.0.72 Compiling pkg-config v0.3.22 Compiling futures-core v0.3.17 Compiling bytes v1.1.0 Compiling lazy_static v1.4.0 Compiling version_check v0.9.3 Compiling itoa v0.4.8 Compiling once_cell v1.8.0 Compiling futures-task v0.3.17 Compiling bitflags v1.3.2 Compiling openssl v0.10.38 Compiling serde_derive v1.0.136 Compiling fnv v1.0.7 Compiling hashbrown v0.11.2 Compiling foreign-types-shared v0.1.1 Compiling native-tls v0.2.8 Compiling futures-sink v0.3.17 Compiling futures-channel v0.3.17 Compiling matches v0.1.9 Compiling slab v0.4.5 Compiling ryu v1.0.5 Compiling serde v1.0.136 Compiling tinyvec_macros v0.1.0 Compiling httparse v1.5.1 Compiling pin-utils v0.1.0 Compiling futures-io v0.3.17 Compiling try-lock v0.2.3 Compiling percent-encoding v2.1.0 Compiling openssl-probe v0.1.4 Compiling unicode-bidi v0.3.7 Compiling encoding_rs v0.8.29 Compiling regex-syntax v0.6.25 Compiling serde_json v1.0.78 Compiling httpdate v1.0.2 Compiling tower-service v0.3.1 Compiling anyhow v1.0.45 Compiling remove_dir_all v0.5.0 Compiling unicode-width v0.1.9 Compiling semver v1.0.4 Compiling fastrand v1.7.0 Compiling heck v0.4.0 Compiling itoa v1.0.1 Compiling textwrap v0.14.2 Compiling strsim v0.10.0 Compiling base64 v0.13.0 Compiling termcolor v1.1.2 Compiling ipnet v2.3.1 Compiling zeroize v1.4.3 Compiling mime v0.3.16 Compiling tracing-core v0.1.21 Compiling tokio v1.14.0 Compiling indexmap v1.7.0 Compiling futures-util v0.3.17 Compiling http v0.2.5 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling foreign-types v0.3.2 Compiling tinyvec v1.5.1 Compiling form_urlencoded v1.0.1 Compiling openssl-sys v0.9.71 Compiling regex v1.5.4 Compiling tracing v0.1.29 Compiling want v0.3.0 Compiling os_str_bytes v6.0.0 Compiling unicode-normalization v0.1.19 error: failed to run custom build command for `openssl-sys v0.9.71` Caused by: process didn't exit successfully: `/tmp/cargo-installtsEIZW/release/build/openssl-sys-6cacf76a5e76af3f/build-script-main` (exit status: 101) --- stdout cargo:rustc-cfg=const_fn cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=OPENSSL_LIB_DIR OPENSSL_LIB_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR OPENSSL_INCLUDE_DIR unset cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_DIR OPENSSL_DIR unset cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=SYSROOT cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-lib=ssl cargo:rustc-link-lib=crypto cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=OPENSSL_STATIC cargo:rerun-if-env-changed=OPENSSL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-changed=build/expando.c OPT_LEVEL = Some("3") TARGET = Some("x86_64-unknown-linux-gnu") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = Some("gcc-11.2.1") 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("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "gcc-11.2.1" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-E" "build/expando.c" --- stderr thread 'main' panicked at ' Header expansion error: Error { kind: ToolNotFound, message: "Failed to find tool. Is `gcc-11.2.1` installed?" } Failed to find OpenSSL development headers. You can try fixing this setting the `OPENSSL_DIR` environment variable pointing to your OpenSSL installation or installing OpenSSL headers package specific to your distribution: # On Ubuntu sudo apt-get install libssl-dev # On Arch Linux sudo pacman -S openssl # On Fedora sudo dnf install openssl-devel See rust-openssl README for more information: https://github.com/sfackler/rust-openssl#linux ', /home/conor/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.71/build/main.rs:162:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile `avm v0.22.1 (https://github.com/project-serum/anchor#552789a0)`, intermediate artifacts can be found at `/tmp/cargo-installtsEIZW` Caused by: build failed

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • PDA inference added to Anchor

    1 project | /r/solana | 24 Sep 2022
  • Can anyone guide on how to create staking dapp for a solana nft?

    1 project | /r/solana | 25 Aug 2022
  • Anchor - ⚓ solana sealevel framework

    1 project | /r/github_trends | 8 Jul 2022
  • How to store information in the solana blockchain

    1 project | dev.to | 6 Jun 2022
  • Anchor - ⚓ solana sealevel framework

    1 project | /r/github_trends | 28 Apr 2022