Skip to content

Mac-specific installation doesn't work #118

Closed

Description

@harrisonturton

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.

Activity

  1. rj-xy commented on Jan 25, 2019

    @rj-xy

    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.

  2. rj-xy commented on Jan 25, 2019

    @rj-xy

    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 ]

  3. rj-xy commented on Jan 25, 2019

    @rj-xy

    @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

  4. therealprof commented on Jan 25, 2019

    @therealprof
    Contributor

    I'll take care of it.

  5. added a commit that references this issue on Jan 25, 2019
    3e9429d
  6. added a commit that references this issue on Jan 26, 2019
    be55c52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions