- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
对于这一切,我还是个新手,所以请原谅我的无能。
当我运行brew Doctor时,我得到以下信息。有人可以帮忙吗?
[/usr/local]$ brew doctor
Error: Setting DYLD_LIBRARY_PATH can break dynamic linking.
You should probably unset it.
Error: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
brew link f will cause other formulae to detect them during the
./configure step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to brew unlink these brews:
libxml2
Error: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcharset.1.dylib /usr/local/lib/libfreetype.6.dylib /usr/local/lib/libjpeg.8.dylib /usr/local/lib/liblcms.1.0.19.dylib /usr/local/lib/libMagickCore.4.dylib /usr/local/lib/libMagickWand.4.dylib /usr/local/lib/libpng15.15.dylib /usr/local/lib/libtiff.3.dylib /usr/local/lib/libtiffxx.3.dylib /usr/local/lib/libwmf-0.2.7.1.0.dylib /usr/local/lib/libwmflite-0.2.7.0.1.dylib
Error: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libcharset.la /usr/local/lib/libfreetype.la /usr/local/lib/libjpeg.la /usr/local/lib/liblcms.la /usr/local/lib/libMagickCore.la /usr/local/lib/libMagickWand.la /usr/local/lib/libpng15.la /usr/local/lib/libtiff.la /usr/local/lib/libtiffxx.la /usr/local/lib/libwmf.la /usr/local/lib/libwmflite.la
Error: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/freetype2.pc /usr/local/lib/pkgconfig/ImageMagick.pc /usr/local/lib/pkgconfig/lcms.pc /usr/local/lib/pkgconfig/libpng15.pc /usr/local/lib/pkgconfig/MagickCore.pc /usr/local/lib/pkgconfig/MagickWand.pc /usr/local/lib/pkgconfig/Wand.pc
Error: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libcharset.a /usr/local/lib/libfreetype.a /usr/local/lib/libjpeg.a /usr/local/lib/liblcms.a /usr/local/lib/libpng15.a /usr/local/lib/libtiff.a /usr/local/lib/libtiffxx.a /usr/local/lib/libwmf.a /usr/local/lib/libwmflite.a
Error: You have uncommitted modifications to Homebrew's core.
Unless you know what you are doing, you should run:
cd /usr/local && git reset --hard
Error: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
/usr/local/git/bin/
[/usr/local]$
最佳答案
Error: Setting DYLD_LIBRARY_PATH can break dynamic linking. You should probably unset it. Error: Some keg-only formula are linked into the Cellar. Linking a keg-only formula, such as gettext, into the cellar with brew link f will cause other formulae to detect them during the ./configure step. This may cause problems when compiling those other formulae.
Binaries provided by keg-only formulae may override system binaries with other strange results.
这要求您取消设置动态加载库路径。您可以通过找出设置它的位置并将其删除来完成此操作。最有可能的是,您的 ~/.bashrc 或 ~/.bash_profile 中有一行看起来像 export DYLD_LIBRARY_PATH=/some/path:$DYLD_LIBRARY_PATH
You may wish to brew unlink these brews:
libxml2
当 Brew 链接时,它会创建一个安装的符号链接(symbolic link)。这就是你如何拥有python2.6。 python2.7 已安装,但 python
将运行其中之一。
brew 取消链接 libxml2
Error: Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
Unexpected dylibs: /usr/local/lib/libcharset.1.dylib /usr/local/lib/libfreetype.6.dylib /usr/local/lib/libjpeg.8.dylib /usr/local/lib/liblcms.1.0.19.dylib /usr/local/lib/libMagickCore.4.dylib /usr/local/lib/libMagickWand.4.dylib /usr/local/lib/libpng15.15.dylib /usr/local/lib/libtiff.3.dylib /usr/local/lib/libtiffxx.3.dylib /usr/local/lib/libwmf-0.2.7.1.0.dylib /usr/local/lib/libwmflite-0.2.7.0.1.dylib Error: Unbrewed .la files were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
Unexpected .la files: /usr/local/lib/libcharset.la /usr/local/lib/libfreetype.la /usr/local/lib/libjpeg.la /usr/local/lib/liblcms.la /usr/local/lib/libMagickCore.la /usr/local/lib/libMagickWand.la /usr/local/lib/libpng15.la /usr/local/lib/libtiff.la /usr/local/lib/libtiffxx.la /usr/local/lib/libwmf.la /usr/local/lib/libwmflite.la Error: Unbrewed .pc files were found in /usr/local/lib/pkgconfig. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
Unexpected .pc files: /usr/local/lib/pkgconfig/freetype2.pc /usr/local/lib/pkgconfig/ImageMagick.pc /usr/local/lib/pkgconfig/lcms.pc /usr/local/lib/pkgconfig/libpng15.pc /usr/local/lib/pkgconfig/MagickCore.pc /usr/local/lib/pkgconfig/MagickWand.pc /usr/local/lib/pkgconfig/Wand.pc Error: Unbrewed static libraries were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
Unexpected static libraries: /usr/local/lib/libcharset.a /usr/local/lib/libfreetype.a /usr/local/lib/libjpeg.a /usr/local/lib/liblcms.a /usr/local/lib/libpng15.a /usr/local/lib/libtiff.a /usr/local/lib/libtiffxx.a /usr/local/lib/libwmf.a /usr/local/lib/libwmflite.a
这些是其他安装的残留文件。您可以删除它们。
rm 文件名
Error: You have uncommitted modifications to Homebrew's core. Unless you know what you are doing, you should run: cd /usr/local && git reset --hard
这里,它告诉您您对 Homebrew 文件进行了修改。幸运的是,Homebrew 存储在 Git 版本控制中,因此您可以恢复这些更改。
cd/usr/local && git reset --hard
Error: Some directories in your path end in a slash. Directories in your path should not end in a slash. This can break other doctor checks. The following directories should be edited: /usr/local/git/bin/
PATH 变量是您在命令行中键入程序时计算机搜索程序的位置。您可以使用 echo $PATH
查看您的路径。
标准规定 PATH 中的所有路径不应以斜杠结尾。因此, Homebrew 程序要求您修复它。
nano ~/.bashrc
或 nano ~/.bash_profile
并查找“/usr/local/git/bin/”并删除尾部斜杠。
关于homebrew - 如何修复 brew doctor 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10580813/
我想了解无线教程(Brew)的二进制运行时环境。任何人都提供一些有用的链接来学习 brew。 最佳答案 试试这些: http://www.palowireless.com/brew/tutorials
是否需要在 brew switch 之前/之后运行 brew unlink/brew link? 根据此链接https://docs.brew.sh/Tips-N'-Tricks#activate-a
我看到一些配备 REX 操作系统的设备,但它支持 Brew Zone、应用程序。但是BREW本身就是OS,我想知道REX和BREW有什么区别,它们之间的关系。谁能帮忙?一些CDMA设备的应用平台为BR
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 9 个月前关闭。 Improve t
我安装了 Paste 并想卸载它,目前正在运行 macOS High Sierra。 我曾尝试使用 $ brew uninstall Paste它返回 Error: No such keg: /usr
我在 ubuntu 19.04 上安装了 Homebrew 软件,但意外停止,因此安装未完成。但文件夹已经创建。 如果我再安装 sudo apt install linuxbrew-wrapper 我
请帮助了解正在发生的事情,或者是否需要采取任何措施。我看过很多关于处理 brew、节点、符号链接(symbolic link)、卸载和重新安装节点、npm、 yarn 的帖子,尝试过 brew cle
请帮助了解正在发生的事情,或者是否需要采取任何措施。我看过很多关于处理 brew、节点、符号链接(symbolic link)、卸载和重新安装节点、npm、 yarn 的帖子,尝试过 brew cle
我刚刚安装了一个新的 Cask,然后运行了 brew doctor,它返回了 Error: Cask 'java' is unreadable: undefined method undent' fo
当我运行 Homebrew's brew doctor (Mac OS X 10.9.2) 时,我收到以下警告消息: Warning: Python is installed at /Library/
我正在尝试使用brew-cask安装virtual box,但这会返回这种错误,并且我无法安装virtualbox。我使用 MacOSX Lion 10.7.5 和 homebrew 0.9.5,ru
我有一个软件包 dmtx-utils 有问题,它被移到了 homebrew/boneyard。它实际上是在期待,我相信它是 ImageMagick 的 旧 版本;早于 7.0.4-8(当前版本)的东西
我正在努力 brew install minikube。我没有任何版本,但需要旧版本。我正在尝试熟悉的方法,但出现错误: ~ brew install minikube@1.18.1 ==> Sear
硬盘驱动器故障后,我刚从商店拿到了我的 Mac Pro。我正在尝试再次安装我的环境。 我从 Homebrew 软件网站上的当前链接安装了 Homebrew 软件:/bin/bash -c "$(cur
我正在尝试通过 brew 安装 ffmpeg。我用 yasm 得到的错误是 “错误:在安装 ffmpeg 之前,您必须‘brew link pkg-config yasm’” 这样做时,我被告知我的权
已关闭。这个问题是 off-topic 。目前不接受答案。 想要改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 已关闭10 年前。 Improve th
昨天通过Brew现在升级到V7,现在ES无法启动: OpenJDK 64-Bit Server VM warning: Ignoring option CMSInitiatingOccupancyFr
输出: ○ brew update error: Your local changes to the following files would be overwritten by merge:
Homebrew 工作正常,直到我进行了 brew 更新(几个月没有更新)。 brew 更新完成后,每个 brew 命令都会导致相同/相似的错误消息: /usr/local/Library/Homeb
我正在尝试使用 Homebrew 安装 MySQL。 ➜ ~ brew install mysql ==> Downloading https://cdn.mysql.c
我是一名优秀的程序员,十分优秀!