Questions tagged «homebrew»

Homebrew是适用于macOS和Linux的软件包管理器,它提供了一个轻松的界面来安装许多软件包。它被构建为可以与您现有的系统很好地兼容,并且不会对其造成干扰。它完全基于Git和Ruby构建,并且可以轻松定制以满足您的需求。关于Homebrew的调试帮助至少应包括“ brew doctor”输出的详细信息。

9
gem eventmachine致命错误:找不到“ openssl / ssl.h”文件
刚刚安装了El Capitan而无法安装gem eventmachine 1.0.7。openssl在1.0.2a-1。尝试使用,--with-ssl-dir但似乎被忽略了。 也将其报告给他们的github仓库。 任何建议都非常感谢。谢谢。 $ ls /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/ssl.h /usr/local/Cellar/openssl/1.0.2a-1/include/openssl/ssl.h $ gem install eventmachine -v '1.0.7' -- --with-ssl-dir=/usr/local/Cellar/openssl/1.0.2a-1/include /Users/pain/.rbenv/versions/2.1.2/bin/ruby -r ./siteconf20150612-56154-1hsjz2n.rb extconf.rb --with-ssl-dir=/usr/local/Cellar/openssl/1.0.2a-1/include checking for rb_trap_immediate in ruby.h,rubysig.h... no checking for rb_thread_blocking_region()... yes checking for ruby/thread.h... yes checking for rb_thread_call_without_gvl() in ruby/thread.h... yes checking for inotify_init() in sys/inotify.h... no checking …

10
找不到Ruby套件符号:_SSLv2_client_method(LoadError)
我正在尝试使用自制软件对openssl进行一些更新,但我设法以某种方式破坏了一切。我现在什么也不能做,这是我尝试进行捆绑安装时得到的: $ bundle install /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle, 9): Symbol not found: _SSLv2_client_method (LoadError) Referenced from: /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib in /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle - /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl.rb:17:in `<top (required)>' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/security.rb:11:in `<top (required)>' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/asServer/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/package.rb:43:in `<top (required)>' …


4
自制软件,macports或其他软件包安装工具的区别/用途是什么?[关闭]
关闭。此问题不符合堆栈溢出准则。它当前不接受答案。 想改善这个问题吗?更新问题,使其成为Stack Overflow 的主题。 5年前关闭。 改善这个问题 我最近刚从Ubuntu切换到Mac。我对Mac sudo apt-get在Ubuntu 中没有便利感到失望。我听说我应该使用自制软件,但我不确定是要使用自制软件还是macports?
238 homebrew  macports  apt 

24
Virtualenvs中的参考损坏
我最近在Mac上安装了许多点文件以及其他一些应用程序(我改为使用iTerm而不是Terminal,将Sublime设置为默认文本编辑器),但是此后,尽管它们的文件夹位于.virtualenvs中,但我所有的虚拟环境都停止了工作仍然在那里,每当我尝试在其中运行任何命令时,它们都会给出以下错误: dyld: Library not loaded: @executable_path/../.Python Referenced from: /Users/[user]/.virtualenvs/modclass/bin/python Reason: image not found Trace/BPT trap: 5 我已经删除了所有与dotfiles相关的文件,并将.bash_profile还原到以前的状态,但是问题仍然存在。是否有任何方法可以诊断问题或以简单的方式解决问题(例如,无需再次创建所有虚拟环境)?

12
如何在OS X上安装Homebrew?
我正在尝试在OS X上安装Homebrew。 根据Homebrew网站,我应该输入 brew install wget 我所得到的是 -bash: brew: command not found 所以我搜索了StackOverflow并找到了这个答案。但问题是我没有看到brew在/usr/local/bin。 因此,我还在.bashrc文件中添加了以下行 export PATH=/usr/local/bin:$PATH 但是我仍然遇到command not found错误。 如何在OS X上安装Homebrew?
213 macos  bash  install  homebrew 

12
Brew更新失败:未跟踪的工作树文件将被合并覆盖
尝试使用brew update以下方法更新Homebrew时出现以下错误 error: The following untracked working tree files would be overwrittenby merge: Library/Formula/argp-standalone.rb Library/Formula/cocot.rb Please move or remove them before you can merge. Aborting Updating e088818..5909e2c Error: Failed while executing git pull origin refs/heads/master:refs/remotes/origin/master 我发现有人在安装Mountain Lion之后遇到了类似问题(这也是我本周所做的事情)的博客文章。他解释了如何删除错误消息中引用的文件 I removed these files: $ cd $(brew --prefix) $ rm cocot.rb However, removing …
207 homebrew 

5
如何使用自制软件安装imagemagick?
我正在尝试在OSX Lion上安装Imagemagick,但某些功能无法正常工作。 -> brew install imagemagick /usr/local/git/bin/git ==> Cloning https://github.com/adamv/ImageMagick.git Cloning into /Users/klebershimabuku/Library/Caches/Homebrew/imagemagick--git... fatal: https://github.com/adamv/ImageMagick.git/info/refs not found: did you run git update-server-info on the server? Error: Failure while executing: git clone --depth 1 https://github.com/adamv/ImageMagick.git /Users/kleber/Library/Caches/Homebrew/imagemagick--git 酿造医生说: -> brew doctor We couldn't detect gcc 4.0.x. Some formulae require this compiler. Some …
201 git  gcc  homebrew  osx-lion  gcc4 

4
自制软件:错误:不应直接调用update-report
运行时,brew update我得到以下信息: /usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory /usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory [etc..] Error: update-report should not be called directly! 呼叫brew config报告以下内容: HOMEBREW_VERSION: 0.9.9 ORIGIN: https://github.com/Homebrew/brew.git HEAD: 90e84453f9adda65de6b9274987d06e46caa5d37 Last commit: 4 hours ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 05ce2548bad01807c6be2aece21ab70d221755e6 Core …
192 homebrew 

11
如何将OSX上的Xcode更新到最新版本?
在OSX上更新Xcode的最简单方法是什么? 我在终端中看到了这一点: $ brew install xxxxxxx Warning: Your Xcode (4.3.3) is outdated Please install Xcode 4.6. 但是当我打开时Xcode > Preferences > Downloads,它说没有更新吗?
188 xcode  macos  homebrew 

19
如何使用brew安装的Python作为默认Python?
我尝试在Mac OS X 10.6.2上切换到Homebrew(在使用了fink和macport之后)。我已经安装了python 2.7 brew install python 问题是,与Macport相反,似乎没有python_select实用程序,而我的默认mac python始终是默认的 which python 给我吗 /usr/bin/python 而且/usr/bin/python不是符号链接 我如何才能使python brew成为我的默认python?
187 python  homebrew 

6
Postgres-致命:数据库文件与服务器不兼容
重新启动MacBook Pro之后,我无法启动数据库服务器: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? 我检查了日志,以下行一遍又一遍地出现: FATAL: database files are incompatible with server DETAIL: The data directory was initialized by PostgreSQL version 9.2, which is not compatible with this version …


5
如何在Mac上安装ssh-copy-id?
我在Mac上尝试安装ssh-copy-id时遇到问题。我试图遵循https://github.com/beautifulcode/ssh-copy-id-for-OSX, 但是每次我运行ssh-copy-id都会给我错误。关于如何获取ssh-copy-id的任何想法?
171 macos  ssh  homebrew  ssh-keys 

6
如何使用自制软件更新公式?
如何更新公式? 我跑了brew update。然后,运行brew outdated,输出: mongodb (1.4.3-x86_64 < 1.6.5-x86_64) 因此,mongodb已经过时了。 如何升级?我是否要先卸载然后再安装?
164 homebrew  formula 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.