返回

macos——如何在Mac上用PCRE编译git?

发布时间:2022-03-01 00:43:26 335

我需要这个命令的PCRE-git log -i -P --all --grep='^(?=.*fix)(?=.*a)(?=.*bug)'

它显示了-fatal:当不使用use_LIBPCRE编译时,无法使用与Perl兼容的正则表达式

我试过了-

brew reinstall pcre git
brew reinstall pcre2 git

brew配置的输出为

HOMEBREW_VERSION: 3.3.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2dc375acc2fe4e089d103171ec8fb06a87d83bb6
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 528cff0f77f4ab9f8bccfae8d148eced81eeb3d5
Core tap last commit: 39 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 13.0.0 build 1300
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2.1-x86_64
CLT: 13.0.0.0.1.1627064638
Xcode: N/A

也遵循了这个问题的步骤-如何在使用自制软件的macOS上安装支持PCRE的Git?

特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报
评论区(0)
按点赞数排序
用户头像