- 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/
当我去做冲泡医生时,我会发出很多警告。因此,我继续进行,清理了现有的安装并从头开始。 现在我仍然收到一些警告: Warning: "config" scripts exist outside
当我跑 brew doctor在我的 Mac 上,我收到以下警告: Warning: Unbrewed dylibs were found in /usr/local/lib. If you didn
我刚刚升级并更新了 Homebrew 软件,现在如果我运行brew doctor,则会收到以下错误,并且无法运行。我可以删除意外的头文件还是有更好的解决方案? Warning: Your XQuart
Divio应用程序在设置本地Docker容器时显示错误,因为(根据'divio doctor'),Docker内部的DNS解析不起作用。 我已在W10主机上设置了Ubuntu 18.1 VBox VM
Unexpected static libraries: /usr/local/lib/libappfirewall.a /usr/local/lib/libautoblock.a /usr/loca
我正在开发社交 n/w 应用程序,我将在该应用程序中使用大量图像。这些图像已缓存,我正在使用“路径”中的“快速图像缓存”进行缓存。 我最近从应用商店下载了“电池医生”应用 https://itunes
$ Flutter doctor 终端命令无法在 ubuntu 上运行,给出错误消息“curl: (35) gnutls_handshake() failed: 拉函数错误。" 最佳答案 我使用的是
我已经下载了 Flutter SDK,如 https://flutter.io/setup-windows/ 中所述并将其提取出来。现在,当我尝试在 flutter_console.bat 或任何其他
我不能在Android Studio上工作,因为有一些问题,就像这样“颤动(医生支票崩溃)”。。然后,由于一个错误,医生的检查没有完成。如果下面的错误消息没有帮助,请在https://github.c
打开终端 (cmd) 并运行 appium-doctor 后,我收到以下警告: WARN AppiumDoctor ✖ opencv4nodejs cannot be found. WARN Appi
我试图在终端上运行 brew doctor 但是当我这样做时,它告诉我一些警告...我粘贴它: Warning: Unbrewed dylibs were found in /usr/local/li
我在 windows flutter 安装中遇到了问题。如果我运行 flutter doctor -v 它会卡在设备扫描上。我已经卸载了重新安装的 flutter 和 android studio,但
当我运行 Flutter 医生时: 我试图运行 sudo gem install cocoapods 来安装它,但仍然是同样的问题。 请注意,我正在开发 channel 中使用最新的 flutter
对于这一切,我还是个新手,所以请原谅我的无能。 当我运行brew Doctor时,我得到以下信息。有人可以帮忙吗? [/usr/local]$ brew doctor Error: Setting D
我刚刚安装了 Homebrew 程序并运行了brewdoctor。它给了我这个错误: Warning: Your XQuartz (2.7.4) is outdated Please install
我尝试运行 Homebrew 程序,以便在 5 月份的 mac 上安装一些 unix 工具,但开始时遇到问题。我已经删除了 fink 和 macports 并安装了 Homebrew 软件。 (我正在
我是 Homebrew 软件和终端的新手,但我很享受学习。我最近在运行 brew doctor 时开始收到以下错误,但找不到解决方案: Error: Failed to import: php5
一开始它运行得很顺利,但过了一会儿我明白了: Downloading windows-x64 tools... Download failed. URL: https://storage.google
当在 cmd 中运行 flutter doctor 时,表明需要通过运行命令 flutter doctor --android-licenses 来接受 android 许可证。 运行命令时出现错误,
我正在我的 Linux 上配置 Flutter SDK Ubuntu 16.04 (Xenial Xerus) 系统。为什么我在运行 flutter 医生时会出现以下错误? 我在 .bashrc 文件
我是一名优秀的程序员,十分优秀!