The PKGBUILD seems overly complicated. Why not just install with ./scripts/cargo-install-all.sh ?
@alureon Since we want to follow Arch's Rust package guidelines and have some more control. :)
Git Clone URL: | https://aur.archlinux.org/solana.git (read-only, click to copy) |
---|---|
Package Base: | solana |
Description: | A fast, secure, and censorship resistant blockchain. |
Upstream URL: | https://www.solana.com |
Keywords: | blockchain solana web3 |
Licenses: | Apache-2.0 |
Provides: | spl-token |
Submitter: | ivanmlerner |
Maintainer: | Xeonacid (lilac) |
Last Packager: | lilac |
Votes: | 5 |
Popularity: | 0.000177 |
First Submitted: | 2021-03-18 02:32 (UTC) |
Last Updated: | 2025-01-28 12:49 (UTC) |
The PKGBUILD seems overly complicated. Why not just install with ./scripts/cargo-install-all.sh ?
@alureon Since we want to follow Arch's Rust package guidelines and have some more control. :)
The PKGBUILD seems overly complicated. Why not just install with ./scripts/cargo-install-all.sh ?
That would make this package SO low maintenance.
@ivanmlerner could you add extra arch
s?
@cjayross To fix the problem with missing BPF SDK, copy or soft link it from the source directory you ran makepkg
to /usr/bin/sdk/bpf
.
Problem:
BPF SDK path does not exist: /usr/bin/sdk/bpf: No such file or directory (os error 2)
Solution:
git clone https://aur.archlinux.org/solana.git
cd solana
makepkg -si
mkdir -p /usr/bin/sdk/bpf
cp ./pkg/solana/usr/bin/* /usr/bin/sdk/bpf/
Note: after that, if you run into issues with edition, run rustup default nightly && rustup update
Missing clang
makedep.
Unable to build programs with the installation provided.
cargo build-bpf
emits
BPF SDK path does not exist: /usr/bin/sdk/bpf: No such file or directory (os error 2)
Getting an error during build()
:
error: toolchain '1.51.0-x86_64-unknown-linux-gnu' is not installed
Resolved with rustup toolchain install 1.51.0
Pinned Comments