Hello and thanks for your help in advance!
I am having an issue building my project, here is the background:
Fedora Linux v.39 rustc 1.78.0 solana-cli 1.18.24 (src:6b04e881; feat:3241752014, client:Agave) avm 0.30.1 anchor-cli 0.30.1
Here is the backtrace and build error message....
solana-build-bpf --manifest-path=./programs/blocklockcore/Cargo.toml --bpf-out-dir=./target/deploy
-bash: solana-build-bpf: command not found
[root@Web BlockLockCore]# RUST_BACKTRACE=1 anchor build
thread 'main' panicked at cli/src/lib.rs:545:18:
called Option::unwrap()
on a None
value
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: core::option::unwrap_failed
4: anchor_cli::override_toolchain::parse_version
5: anchor_cli::override_toolchain::override_solana_version
6: anchor::main
note: Some details are omitted, run with RUST_BACKTRACE=full
for a verbose backtrace.
anchor clean
anchor build
error: no such command: +solana
Cargo does not handle `+toolchain` directives.
Did you mean to invoke `cargo` through `rustup` instead?
Has anyone dealt with this error before:
"error: no such command: +solana
"
Thanks again!