-
Notifications
You must be signed in to change notification settings - Fork 14
make install fails on macOS #131
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
Comments
Gosh, no one commented on this. Definitely raise a PR on the README, that would be a great addition. I think not that many developers are building on mac but I am so it would be good for people like me when we start, I would have got stuck on that for sure! |
Ok, done. |
Add extra steps for macOS, as noted in #131
Fixed in #135. |
Add extra steps for macOS, as noted in #131
Add extra steps for macOS, as noted in #131
I got the "could not canonicalize /opt/avr-rust" error on my Ubuntu 18 installation. So it should be noted that this issues is not specific to macOS. |
Add extra steps for macOS, as noted in #131
I ran into a confusing beginner problem trying to build
avr-rust
on macOS Mojave (10.14.3).make
worked fine, butmake install
told me it "could not canonicalize /opt/avr-rust
".In order to fix this I had to edit
build/config.toml
and setprefix = '/usr/local/avr-rust'
, and then make sure the directory was there and had the right ownership (sudo mkdir /usr/local/avr-rust && sudo chown $USER:admin /usr/local/avr-rust
).After that
make install
worked.Finally, for the "Register the toolchain with rustup" step of Building and Installation, I had to manually install GNU Coreutils to get
realpath
(brew install coreutils
).Is it worth trying to automate this (any hints to where I should start?), or should I just submit a PR on the readme noting the extra steps on macOS?
The text was updated successfully, but these errors were encountered: