We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got an error while I was trying to install Solana binaries with cargo-install-all.sh:
cp: cannot stat 'target/release/solana': No such file or directory
I think it's because I set my CARGO_TARGET_DIR to ~/.cargo/target
You can get the target directory with:
target_dir=$(cargo metadata | jq .target_directory -r)
Then just replace all "target/" with "$target_dir/".
This seemed to fix my problem.
I'd love to make a PR to fix it if this is a proper solution to you guys, along with other shell scripts with same issue.
Thx for this wonderful project.
The text was updated successfully, but these errors were encountered:
This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave
Sorry, something went wrong.
No branches or pull requests
Problem
I got an error while I was trying to install Solana binaries with cargo-install-all.sh:
I think it's because I set my CARGO_TARGET_DIR to ~/.cargo/target
Proposed Solution
You can get the target directory with:
Then just replace all "target/" with "$target_dir/".
This seemed to fix my problem.
I'd love to make a PR to fix it if this is a proper solution to you guys, along with other shell scripts with same issue.
Thx for this wonderful project.
The text was updated successfully, but these errors were encountered: