上下文:
brew install imagemagick
返回控制台:
==> Installing dependencies for imagemagick: libxml2, itstool, libffi, pcre, glib, docbook, docbook-xsl, libyaml, ruby, asciidoctor, gnu-getopt, xmlto, shared-mime-info, x265, libheif, liblqr, libtool, jasper, libomp and libraw
==> Installing imagemagick dependency: libxml2
==> Patching
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 8188 (offset -545 lines).
==> Applying libxml2-python3-unicode-errors.patch
patching file python/libxml.c
Hunk #1 succeeded at 1621 (offset 1 line).
Hunk #2 succeeded at 1638 (offset 1 line).
==> ./configure --prefix=/usr/local/Cellar/libxml2/2.9.14_2 --with-history --with-icu --without-python --without-lzma
==> make install
Error: An exception occurred within a child process:
NoMethodError: undefined method `/' for nil:NilClass返回的错误:
Error: An exception occurred within a child process:
NoMethodError: undefined method `/' for nil:NilClass诊断/纠正措施下一步是什么?任何关于问题根源的洞察力都是值得赞赏的:谢谢。
如有任何建设性的编辑/反馈问题,我们将不胜感激。
发布于 2022-06-28 15:00:10
的自制似乎在修补和升级旧版本的libxml2时遇到了困难。
就我个人而言,我只想移除它并尝试重新安装:
brew remove --force libxml2
brew install libxml2https://stackoverflow.com/questions/72787679
复制相似问题