我用brew install wget安装了wget,并尝试与brew link wget链接。然后我得到了Error: Could not symlink share/locale/bg/LC_MESSAGES/wget-gnulib.mo /usr/local/share/locale/bg/LC_MESSAGES is not writable. 尝试使用sudo chown -R jinglin:admin /usr/local/share/locale/be/LC_MESSAGES和sudo chmod a+rwx /usr/local/share/locale/be/LC_MES
我试图修复运行npm时必须使用sudo的错误。我盲目地按照一个链接卸载节点,代码来自这个
在运行命令之后,我尝试用brew:brew install node重新安装它。这给了我以下错误:
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/doc/node/gdbinit
/usr/local/share/doc/node is not writable.
You ca
我在Debian上,安装了PostgreSQL 9.3。最近我安装了PostGIS2.1.7,还有脚本包(63个.sql文件,总计38,7MB)
apt-get install postgresql-9.3-postgis-2.1
根据天资,一切都安装得很好。然而,它似乎不起作用。安装之后,这就是我遇到的错误:
CREATE EXTENSION postgis;
ERROR: could not open extension control file "/usr/local/pgsql-9.3.2/share/extension/postgis.control": File
我很久以前就安装了homebrew,我并不经常使用它,但我正在考虑重新开始使用它,因为它是一个非常有用和易于使用的软件包安装程序。无论如何,我运行了brew医生,得到了一大堆警告,我不确定如何修复!我特别害怕删除.dylib、.la和.pc文件,以防我的那些不是通过自制软件安装的软件包需要它们。如果我正在运行Mac OS X Mountain Lion (10.8.3),在这个问题上的任何帮助都是非常感谢的,我的警告列表如下:
UOS-12044:~ as34g12$ brew doctor
Warning: /usr/local/include isn't writable.
Thi
我刚刚安装了自制软件。当我运行brew doctor时,我得到这样的结果
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fai
当我运行brew link php时
Linking /usr/local/Cellar/php/7.2.5...
Error: Could not symlink include/php
/usr/local/include is not writable.
我试着
MacBook-Pro:local Fatm$ sudo chown -R $(whoami) /usr/local
chown: /usr/local: Operation not permitted
我找不到包含
MacBook-Pro:local Fatm$ ls -a
.github CO
我正在尝试用Homebrew安装Node.js (我以前没有使用brew安装它,并且尝试删除所有这些文件)。我看过以前问过类似问题的问题,但我没能让他们开始工作。首先,我尝试了brew link node,它给了我:
myusername@c126h060:~$ brew link node
Linking /usr/local/Cellar/node/0.12.6...
Error: Could not symlink share/systemtap/tapset/node.stp
Target /usr/local/share/systemtap/tapset/node.stp
alre
在Mac (OSX 10.11.6)上通过Homebrew安装PostgreSQL时,我得到以下错误:
Error: The `brew link` step did not complete successfully The formula
built, but is not symlinked into /usr/local
和
initdb: file "/usr/local/share/postgresql/postgres.bki" does not exist
This might mean you have a corrupted installation
我运行了brew doctor,收到了一些警告信息,我认为我知道该采取什么措施来修复,但想知道我是否在正确的轨道上。以下是我收到的警告清单:
Warning: /usr/local/lib/pkgconfig isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail
我使用的是苹果M1 MacBook pro。
当我安装了哦我的zsh。当我将export PATH="/opt/homebrew/bin:$PATH"添加到我的~/.zshrc文件时。此错误显示在我的终端中:
joe :: share/zsh/site-functions » source ~/.zshrc
compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew
compinit:503: no such file or directory: /usr/local/sh
尝试在新的Macbook上安装octave,但一直在使用Homebrew时遇到问题。我在这里遵循以下说明:
我遇到了这个错误:
Linking /usr/local/Cellar/ghostscript/9.14...
Error: Could not symlink share/ghostscript/Resource
/usr/local/share/ghostscript is not writable.
进入后:
sudo chown -R username:admin /usr/local/bin
brew link ghostscript
我仍然得到相同的错误。如何使ghostsc
我在尝试安装自制软件时遇到以下错误:
chmod: Unable to change file mode on /usr/local/share/zsh: Operation not permitted
chmod: Unable to change file mode on /usr/local/share/zsh/site-functions: Operation not permitted
Failed during: /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
由于某些原因,brew无法链接mysql,并且它会抱怨权限问题。我将文件夹chmod到777,但仍然存在相同的问题
laptop$ brew install mysql
错误:
mysql-5.5.27 already installed, it's just not linked
laptop$ brew link mysql
Linking /usr/local/Cellar/mysql/5.5.27... Warning: Could not link mysql.
正在解除链接...
Error:
Could not symlink file:
我无法在homebrew中安装postgresql。
$ brew install postgresql
Error: Could not create /usr/local/Cellar
Check you have permission to write to /usr/local
我不确定自制软件是否安装得很好。如果你需要更多信息,我会更新这篇文章。
当我试图通过Homebrew安装Python 3时,我得到了以下消息。如何修复此错误?
我不熟悉命令行,所以如果您能为我提供要执行的确切命令来解决这个问题,我将不胜感激。
Error: The following directories are not writable by your user:
/usr/local/share/man/man7
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/share/man/man7
And
我在使用brew时遇到了一些问题,我正在尝试解决这些问题。当我当前运行brew doctor时,我得到以下输出:
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
autoconf
libevent
Warning: Homebre
我对Homebrew和Node非常陌生,在启动和运行Node时遇到了麻烦。
我成功安装了Homebrew,然后运行brew install node并获得:
Updating Homebrew...
Warning: node 13.2.0 is already installed, it's just not linked
You can use `brew link node` to link this version.
我运行brew link node并获取:
Linking /usr/local/Cellar/node/13.2.0...
Error: Could not
我试图在我的El Capitan Macbook上安装Octave,但是我收到了一个奇怪的错误。
OSX-3:~ me$ brew install octave
==> Installing octave from homebrew/science
Error: You must `brew link jpeg libtiff libpng freetype gmp fontconfig gd lua` before homebrew/science/octave can be installed
所以我就照它说的做...
OSX-3:~ me$ brew link jpeg libti
我正在尝试安装Laravel Valet,它需要php 7.1,但是当我运行brew install php71时,我得到以下错误:
==> Pouring php71-7.1.10_21.high_sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink sbin/php-fpm
/usr/local/sbin is not writable
在通过macOS Catalina更新将我的shell从bash切换到zsh之后,Homebrew和zsh正在为如何拥有/usr/local/share/zsh/site-functions和/usr/local/share/zsh而争执不休。 zsh希望root拥有/usr/local/share/zsh/**/*,否则会引发令人讨厌的错误 zsh compinit: insecure directories and files, run compaudit for list.
Ignore insecure directories and files and continue [y] o
我已经安装了postgresql,但是它说我没有链接到它。我正在命令行中运行这个程序,并得到以下错误:
myname@MacBook-Pro-8 ~> brew install postgresql
Warning: postgresql 10.4 is already installed, it's just not linked
You can use `brew link postgresql` to link this version.
myname@MacBook-Pro-8 ~> brew link postgresql
Linking /usr/local/C