установка Ros кинетическая в Mac Mojave - PullRequest
1 голос
/ 08 марта 2019

Я пытаюсь установить ro kinetic в моем Mac, следуя этому руководству . (У меня установлен и обновлен homebrew) На первом шаге руководства я запускаю командную строку:

brew tap ros/deps

и это возвращает меня к следующим ошибкам

    ==> Tapping ros/deps
Cloning into '/usr/local/Homebrew/Library/Taps/ros/homebrew-deps'...
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 11 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (11/11), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb
Calling MacOS.prefer_64_bit? is disabled! There is no replacement.
Please report this to the ros/deps tap:
  /usr/local/Homebrew/Library/Taps/ros/homebrew-deps/gfortran.rb:15

Error: Cannot tap ros/deps: invalid syntax in tap!

это мой brew --config

HOMEBREW_VERSION: 2.0.3-28-gd8c6f6b
ORIGIN: https://github.com/Homebrew/brew
HEAD: d8c6f6b12075a06a9837f6fce920ccd07a36ca4c
Last commit: 21 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 7be50eb2d1dbe7aa885ce349279f71baadca87c6
Core tap last commit: 17 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.uz5VqgRPje/org.macosforge.xquartz:0
HOMEBREW_LOGS: /Users/giuliopettenuzzo/Library/Logs/Homebrew
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 9.0 build 900
Git: 2.14.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_131
macOS: 10.14.2-x86_64
CLT: N/A
Xcode: 9.2
XQuartz: 2.7.11 => /opt/X11

и это ошибки, которые я получаю с brew doctor

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  python@2
  numpy

Warning: Your Xcode (9.2) is too outdated.
Please update to Xcode 10.1 (or delete it).
Xcode can be updated from the App Store.


Warning: Your Xcode (9.2) is outdated.
Please update to Xcode 10.1 (or delete it).
Xcode can be updated from the App Store.

Эта ошибка не позволяет мне устанавливать ross kinetic в моем mac mojave, пожалуйста, помогите мне.

1 Ответ

3 голосов
/ 13 марта 2019

https://github.com/ros/homebrew-deps

Я поместил этот репозиторий в / usr / local / Homebrew / Library / Taps / ros / homebrew-dep, затем в gfortran.rb,измените «MacOS.prefer_64_bit» на «MacOS.is_64_bit».и снова запустите «brew tap ros / deps».

Это работает на моем Mac.

...