homebrew

Qt designer via homebrew

喜欢而已 提交于 2019-12-09 03:54:30
问题 I installed Qt5 via homebrew, but I didn't find the designer. I also installed qtcreator ( Caskroom/cask/qt-creator ) but the designer icon is grayed out: Any ideas where I can find the designer? p.s. Does this means that designer is going to retire? 回答1: If you double-click on a .ui-File (within Creator), the Designer will become active. Or you need to add a Qt-Designer-Form with the wizard if you have no ui file yet. 回答2: otherise you can open Qt Designer alone (not inside Qt Creator) by

What is the meaning yellow service “started” status on Homebrew?

安稳与你 提交于 2019-12-09 00:22:53
问题 When I tried brew services list command, dnsmasq, nginx status started but yellow. php71 and mysql is started and green. Previously when my Mysql status started but yellow Mysql doesnt work. Now my nginx and dnsmasq status started and yellow but everthing works fine. What is the meaning started but yellow written status? Everything ok or? 回答1: Unfortunately the yellow color means status unknown . Wonder why it says started though. I just found out because the status for apache 2.2 on OS X 10

Ghostscript not writable

本小妞迷上赌 提交于 2019-12-08 18:08:18
问题 Trying to install octave on a new Macbook, but keep running into problems using Homebrew. I am following directions here: http://wiki.octave.org/Octave_for_MacOS_X I run into the error: Linking /usr/local/Cellar/ghostscript/9.14... Error: Could not symlink share/ghostscript/Resource /usr/local/share/ghostscript is not writable. After entering: sudo chown -R username:admin /usr/local/bin brew link ghostscript I still get the same error. How do I make ghostscript writable? 回答1: Using this

ld: symbols not found for architecture x86_64, clang: linker command failed

北慕城南 提交于 2019-12-08 17:32:23
问题 I'm trying to use homebrew to download and build packages like boost, ceres-solver, stuff like that. What happens is that I will try and compile code, without any special flags ( g++ foo.cpp -o foo -I /usr/local/... and I've tried clang++ too) and I get this error consistently: Undefined symbols for architecture x86_64: ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) So I looked around and the solution is to

Default password for my user in postgresql

旧巷老猫 提交于 2019-12-08 17:26:07
问题 I installed postgresql on my Mac through homebrew. It said it didn't create a postgres account, but is using an account with my username instead. However, running the command psql fails because when I type in my password, it says it's wrong. I've retried it to make sure I'm not typing it wrong. So what's the password it gave me? 回答1: There are two different "accounts" here: The OS X user that owns the PostgreSQL files and processes. When you installed PostgreSQL, you used your own user

Homebrew install fails while copying files

自作多情 提交于 2019-12-08 16:00:43
问题 I run this: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" I get prompt: ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew After I click "return"(enter button) I get this error: ==> Downloading and installing Homebrew... fatal: cannot copy '/usr/local/git/share/git-core/templates

Running `pip` gives 'command not found' after successful Python homebrew install

微笑、不失礼 提交于 2019-12-08 15:46:48
问题 To preface, I am very bad with the terminal, please be patient with me. when I run pip I get: zsh: command not found: pip I have installed Python 2.7.11 with brew, which should allow pip to work When I run echo $PATH I get /usr/local/sbin /Users/Nicolas/.composer/vendor/bin /Library/Frameworks/Python.framework/Versions/3.4/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin I notice that /usr/local/bin/ is in there, which I understand is where brew executables are linked to when I run which -a

Are there obvious sources for the Brew Doctor warnings I'm seeing?

为君一笑 提交于 2019-12-08 11:24:17
问题 I have recently installed Hombrew on Yosemite with Xcode installed and would like to better understand what brew doctor is warning me about. I understand that these warnings are nothing to worry about (until they are) and am not asking how or whether to respond to them; but I would like to do the best I can to understand the likely causes so that I can be prepared when issues come up (and also to head off issues that others in my office may encounter on similar systems). Are any of the items

How can I install Anaconda aside an existing pyenv installation on OSX?

陌路散爱 提交于 2019-12-08 11:17:12
问题 Sincerest apologies if this is easily found elsewhere, but although I found a number of posts with pyenv and Anaconda explanations, none addressed this issue specifically. However, I am often an idiot. On Mac OSX (Mojave 10.14.6) I installed pyenv via Homebrew brew install pyenv And I happily install and switch between Python versions with pyenv install ... and pyenv global ... I typically use VS Code as my IDE. I now have need to do some work in Anaconda. I haven't used it before. Can I

how to install brew or homebrew on mac os 10.6

大城市里の小女人 提交于 2019-12-08 08:55:48
问题 I have tried multiple times. Can anybody tell me exact detailed steps? My mac os is 10.6.8. It complains about some missing packages. 回答1: Use this to install on Mac OSX 10.6.8 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 回答2: I got it working now following command /usr/bin/ruby -e "$(curl -fsSL raw.github.com/gist/323731)" . I was running the mkdir homebrew && curl -L github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew I have no