can not install in the WSL from China
wujingwei@LAPTOP-JHVV030O:~/foundry-f24/foundry-smart-contract-lottery-f24$ curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain none
--default-host x86_64-unknown-linux-gnu
--default-host i686-pc-windows-gnu
--default-host x86_64-apple-darwin
--rustup-dist-server https://mirrors.tuna.tsinghua.edu.cn/rustup
--rustup-update-root https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup
info: downloading installer
there is no download speed
works fine in my WSL . The only thing is that it doesn't get copied in the clipboard that the problem.
the text don't get copied in my clipboard
the install fails on wsl
error: could not compile `headers` (bin "headers") due to 1 previous error error: failed to compile `headers v0.1.0 (/path)`, intermediate artifacts can be found at `/path/headers/target`.
the install fails on wsl
error: could not compile `headers` (bin "headers") due to 1 previous error error: failed to compile `headers v0.1.0 (/path)`, intermediate artifacts can be found at `/path/headers/target`.
Hi, I ran into a similar issue with my WSL using Ubuntu. I had to install some missing required XCB dependencies. This is what I did:
sudo apt-get update
sudo apt-get install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
Then I ran:
cargo install --path .
Works fine for me now and may be the problem you are having.
@SupaMega24 Thanks , your approach fixed the issue for me.