在 Mac Mojave 安装 Ros kinetic
installation of Ros kinetic in Mac Mojave
我打算在 mac 之后 guide 安装 ros kinetic。
(我安装并更新了自制软件)在指南的第一步中,我 运行 命令行:
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.
这个错误避免我在我的 mac mojave 中安装 ross kinetic,请帮助我。
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。
weaveworks/tap
类似地在 Mac 中安装 eksctl:
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/weaveworks/homebrew-tap/Formula/eksctl-private.rb eksctl-private: /usr/local/Homebrew/Library/Taps/weaveworks/homebrew-tap/Formula/eksctl-private.rb:15: unknown regexp options - gthb Error: Cannot tap weaveworks/tap: invalid syntax in tap!
要修复它,请遵循以下步骤:
cd /usr/local/Homebrew/Library/Taps/
mkdir homebrew-tap/
git clone https://github.com/weaveworks/homebrew-tap.git
brew tap weaveworks/tap
brew install weaveworks/tap/eksctl
我打算在 mac 之后 guide 安装 ros kinetic。 (我安装并更新了自制软件)在指南的第一步中,我 运行 命令行:
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.
这个错误避免我在我的 mac mojave 中安装 ross kinetic,请帮助我。
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。
weaveworks/tap
类似地在 Mac 中安装 eksctl:
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/weaveworks/homebrew-tap/Formula/eksctl-private.rb eksctl-private: /usr/local/Homebrew/Library/Taps/weaveworks/homebrew-tap/Formula/eksctl-private.rb:15: unknown regexp options - gthb Error: Cannot tap weaveworks/tap: invalid syntax in tap!
要修复它,请遵循以下步骤:
cd /usr/local/Homebrew/Library/Taps/
mkdir homebrew-tap/
git clone https://github.com/weaveworks/homebrew-tap.git
brew tap weaveworks/tap
brew install weaveworks/tap/eksctl