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

Mac-specific installation doesn't work #118

Closed
harrisonturton opened this issue Jan 25, 2019 · 4 comments
Closed

Mac-specific installation doesn't work #118

harrisonturton opened this issue Jan 25, 2019 · 4 comments

Comments

@harrisonturton
Copy link

Hello,

On this page, it asks us to run the following commands:

$ # GDB
$ brew cask install gcc-arm-embedded

$ brew install openocd

$ brew install qemu

Unfortunately, I get the error when executing the first command:

Error: Cask 'gcc-arm-embedded' is unavailable: No Cask with this name exists.

And when trying to tap Caskroom/tap:

htmacbook:local harrisonturton$ brew tap Caskroom/tap
==> Tapping caskroom/tap
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-tap'...
remote: Repository not found.
fatal: repository 'https://github.com/Caskroom/homebrew-tap/' not found
Error: Failure while executing; `git clone https://github.com/Caskroom/homebrew-tap /usr/local/Homebrew/Library/Taps/caskroom/homebrew-tap --depth=1` exited with 128.

Any ideas? Not sure whats wrong.

@rj-xy
Copy link

rj-xy commented Jan 25, 2019

I don't have a Mac, but is this command case sensitive: brew tap caskroom/cask ? Specifically the 'c' in caskroom?

http://caskroom.io/ -> brew tap caskroom/cask
https://docs.rust-embedded.org/discovery/03-setup/macos.html -> brew tap Caskroom/tap

Once brew cask is installed, then brew cask install gcc-arm-embedded should work for you.

@rj-xy
Copy link

rj-xy commented Jan 25, 2019

Also noticed that caskroom is now deprecated (see github page): https://github.com/Caskroom/caskroom.github.io

Also, gcc-arm-embedded has been removed (Homebrew/homebrew-cask#56802).

Go to the bottom of this gist, other ppl have been having the same problem:
https://gist.github.com/joegoggins/7763637

Look like you have two option:

brew tap PX4/px4
brew search px4
[ install the latest px4/px4/gcc-arm-none-eabi-XX ]

Install gcc-arm-none-eabi yourself: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads/8-2018-q4-major
[ Add the bin folder to your path - instructions in https://gist.github.com/joegoggins/7763637 ]

@rj-xy
Copy link

rj-xy commented Jan 25, 2019

@harrisonturton once you've sorted it, can you document the install process here, and possibly create a pull request with updates to:
https://github.com/rust-embedded/book/blob/master/src/intro/install/macos.md

@therealprof
Copy link
Contributor

I'll take care of it.

therealprof added a commit that referenced this issue Jan 25, 2019
bors bot added a commit that referenced this issue Jan 26, 2019
119: Update macOS installation instructions r=korken89 a=therealprof

Fixes #118

Co-authored-by: Daniel Egger <daniel@eggers-club.de>
@bors bors bot closed this as completed in #119 Jan 26, 2019
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

3 participants