-
Notifications
You must be signed in to change notification settings - Fork 85
Wont compile on raspberry Pi #66
Comments
Can you give the output of |
Linux PiHole 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux cargo install -f --git https://github.com/cjbassi/ytop ytop > output.txt error: error: error: error: paths in error: paths in error: paths in error: error: nested groups in error: nested groups in error: error: nested groups in error: nested groups in error: error: nested groups in error: nested groups in error: error: error: error: nested groups in error: nested groups in error: nested groups in error: error: error: paths in error: nested groups in error: nested groups in error: aborting due to 27 previous errors error: the struct error: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981) error: the struct error: non-string literals in attributes, or string literals in top-level positions, are experimental (see issue #34981) error: underscore lifetimes are unstable (see issue #44524) error: underscore lifetimes are unstable (see issue #44524) error: slice pattern syntax is experimental (see issue #23121) error: slice pattern syntax is experimental (see issue #23121) error: aborting due to 8 previous errors error: failed to compile Caused by: To learn more, run the command again with --verbose. Could be something on my end, I dont know much about this stuff. |
Well that's definitely unusual :) It can't import the standard library. I wonder if there's some issue with the way the rust tool chain has been set or if there's something that i'm not aware of. Also, would it be good if i just provided a pre compiled binary for your platform that you could just download and unzip to use? |
Your tool chain might also just be really old. I would recommend just reinstalling your rust tool chain or updating it. |
Hmm possibly.... Raspbian is not known for being the most up to date os. I've never really played around with installing pre-compiled binaries on linux, but it might be worth a shot. |
hmm same thing when I tried to use it with aur, when i try to compile it says it's not compatible with my architecture.
my uname output is |
@icanotc I think that's a different issue. The issue there is just that the AUR package only lists x86_64 as the only supported architecture, which isn't correct. |
@icanotc The AUR packages should be fixed now. You can use either the |
it worked at the beginning, just every time it gives me a warning about how it's not compatible, and I actually never tried it would fail to compile most of the times, probably because of how long it takes, but compiling multiple times somehow worked |
Running the cargo build command on the latest version of raspbian will not allow it to compile as it just throws a ton of errors and then fails out.
The text was updated successfully, but these errors were encountered: