问题描述
我正在尝试为 Geany 使用调试器。 Mac 上不再安装 GDB,但 Geany 继续使用它,所以我收到一条错误消息,说“无法生成 gdb 进程”。有人告诉我使用自制软件安装 gdb。我已经安装了 Homebrew,在运行该版本时,我得到以下信息:
~ % brew --version
Homebrew 3.0.2-106-ga466e61
Homebrew/homebrew-core (no Git repository)
Homebrew/homebrew-cask (git revision e8a67; last commit 2021-02-27)
当我运行 brew install gdb
我得到以下信息:
~ % brew install gdb
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "gdb".
==> Searching for a prevIoUsly deleted formula (in the last month)...
Error: No prevIoUsly deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
我做错了什么?这是第一次在 home-brew 中工作。
此外,在运行 brew install --verbose gdb
时,我收到以下警告:
~ % brew install --verbose gdb
fatal: Could not resolve HEAD to a revision
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "gdb".
==> Searching for a prevIoUsly deleted formula (in the last month)...
Error: No prevIoUsly deleted formula found.
==> Searching taps on GitHub...
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-106-ga466e61\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.6\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/search/code\?q=user\%3AHomebrew\+path\%3AFormula\+path\%3ACasks\+path\%3A.\+filename\%3Agdb\+extension\%3Arb\&per_page=100 --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --dump-header /private/tmp/github_api_headers20210227-82409-1hkn62n
Error: No formulae found in taps.
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)