Skip to content
New issue

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

raspberry pi 3 "error: Could not compile libc." #62

Closed
gary094 opened this issue Oct 28, 2019 · 3 comments
Closed

raspberry pi 3 "error: Could not compile libc." #62

gary094 opened this issue Oct 28, 2019 · 3 comments

Comments

@gary094
Copy link

gary094 commented Oct 28, 2019

Hi,

I wanted to try out fselect on my raspberry pi 3B but it gives me the error mentioned in the title.
rust was installed just fine, this is the version:

rustc --version --verbose
rustc 1.38.0 (625451e37 2019-09-23)
binary: rustc
commit-hash: 625451e376bb2e5283fc4741caa0a3e8a2ca4d54
commit-date: 2019-09-23
host: armv7-unknown-linux-gnueabihf
release: 1.38.0
LLVM version: 9.0

and I am on "rustup default stable"

changed it to nightly as some answers on the internet suggested, did not work out for me, same issue.

Attached is the whole output of cargo install fselect

fselect.txt

@jhspetersson
Copy link
Owner

Haven't looked at this yet, but could you please check if these suggestions work for you? Thanks!

@gary094
Copy link
Author

gary094 commented Nov 12, 2019

Did that and after a couple of attempts and tinkering with Cargo.toml file I actually got it to compile.

Now I got a binary under /target/release/ which works fine but how can I make it accessible to the system without specifying the path all the time?

do I simply have to just make an alias which points to the binary or is there a better way to do this?

@jhspetersson
Copy link
Owner

Well, I'm not an RP owner, guess there's another variant of Linux running, so it should work to put fselect binary to one of the PATH directories or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants