Closed smacrineanu closed 1 year ago
Can you use wget
to download the tarball? The following command works for me
wget https://github.com/solana-labs/bpf-tools/releases/download/v1.29/solana-bpf-tools-linux.tar.bz2
Updated cargo-build-sbf
tool will use the new url https://github.com/solana-labs/sbf-tools/releases/download/v1.29/solana-sbf-tools-linux.tar.bz2
Can you use
wget
to download the tarball? The following command works for mewget https://github.com/solana-labs/bpf-tools/releases/download/v1.29/solana-bpf-tools-linux.tar.bz2
Updated
cargo-build-sbf
tool will use the new urlhttps://github.com/solana-labs/sbf-tools/releases/download/v1.29/solana-sbf-tools-linux.tar.bz2
It doesn't work for me. After reading on the internet, I realized it might have something to do with the fact that I'm using WSL. It seems multiple users reported this problem.
doesn't work because of url redirect? can you try
wget https://github.com/solana-labs/sbf-tools/releases/download/v1.29/solana-sbf-tools-linux.tar.bz2
would this work?
doesn't work because of url redirect? can you try
wget https://github.com/solana-labs/sbf-tools/releases/download/v1.29/solana-sbf-tools-linux.tar.bz2
would this work?
No, sorry it does not work. I even tried with a fresh WSL install of an older Ubuntu distribution.
I already spent a lot of time on this and didn't find any relevant answer, guess I'll just install Ubuntu in a dual boot and try from there.
Update: Finally got it to work by downgrading WSL 2 to WSL1, with the Ubuntu 20.04 distribution.
Perhaps you could download the necessary tarball directly using a browser from here https://github.com/solana-labs/sbf-tools/releases/tag/v1.29 You could also try using our windows binaries.
Perhaps you could download the necessary tarball directly using a browser from here https://github.com/solana-labs/sbf-tools/releases/tag/v1.29 You could also try using our windows binaries.
It's ok, I'm gonna work it out in the WSL environment for now. Thank you for the help, Dmitri
Can we close the issue?
I am trying to build a Solana program using Anchor.
When I run anchor build, I get the following output:
I tried installing rust & cargo by myself and building without anchor and I get the same error.
Is there any workaround around this, or a possible fix?