homebrew

homebrew install imagemagick 8 bit version

核能气质少年 提交于 2019-12-25 14:26:13
问题 I would like to install the 8-bit version of imagemagick using homebrew, as the performance is a little better and the RGB values outputted with the 8 bit version are better suited to my uses. How would I got about doing this? 回答1: I think brew install imagemagick --with-quantum-depth-8 should do the trick. 来源: https://stackoverflow.com/questions/11923126/homebrew-install-imagemagick-8-bit-version

homebrew install imagemagick 8 bit version

百般思念 提交于 2019-12-25 14:25:13
问题 I would like to install the 8-bit version of imagemagick using homebrew, as the performance is a little better and the RGB values outputted with the 8 bit version are better suited to my uses. How would I got about doing this? 回答1: I think brew install imagemagick --with-quantum-depth-8 should do the trick. 来源: https://stackoverflow.com/questions/11923126/homebrew-install-imagemagick-8-bit-version

OSX Lion Homebrew “brew install mysql -v” problems

Deadly 提交于 2019-12-25 09:08:23
问题 I am working to install mysql locally using home brew and it keeps blowing up. When I run brew doctor I do not get any errors, and the full verbose output of attempting to install mysql is https://gist.github.com/2424859, ending with: MAKEFLAGS: -j4 Error: Failed executing: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.20 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.20/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.5.20/share/doc/mysql

Install pyqt via homebrew with `--with-python3` but still goes to Python 2

依然范特西╮ 提交于 2019-12-25 02:43:34
问题 Here's my command and output (some command line arguments are left out). What is going wrong? Thank you. $ brew reinstall pyqt --with-python3 ==> Reinstalling pyqt --with-python3 ==> Downloading http://downloads.sf.net/project/pyqt/PyQt4/PyQt-4.10.3/PyQt-mac- Already downloaded: /Library/Caches/Homebrew/pyqt-4.10.3.tar.gz ==> Patching patching file configure.py ==> python configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.10.3 ==> python ./configure-ng.py --confirm-license -

How to package and release a Ruby application?

落花浮王杯 提交于 2019-12-25 01:47:08
问题 I,ve got a Ruby app (so no Rails!) and want to release it to 'the public'. On my mac, I've set up the $PATH to include the bin directory of my app, so I can just type executable_name as a command. However, when somebody installs the app, they would have to add the bin directory to their $PATH like I did. This is not as easy as I would like. Is it possible to let users install with Homebrew or something similar? Or maybe I'm missing something I did't know about? How do you guys generally go

Brew postinstall mysql@5.7 complaining about data directory not empty when it is empty

戏子无情 提交于 2019-12-25 01:14:16
问题 Having a lot of trouble installing mysql 5.7 on Mac Mojave, (ran 'brew install mysql@5.7') on initial install, got msg saying postinstall was not completed successfully (please see msg below). So, after I delete everything in the directory /usr/local/var/mysql (which mysql says is not empty), I STILL get same message when re-running postinstall command ... (which is quite annoying seems MySQL is populating the data dir then complaining it is not empty?!) [08:02:48][~/tmp]#brew postinstall

How to install modules for Apache 2.4 (OSX)?

浪子不回头ぞ 提交于 2019-12-25 00:38:23
问题 I installed apache with Homebrew. When I start the default installation I get this error: httpd: Syntax error on line 85 of /usr/local/etc/httpd/httpd.conf: Cannot load lib/httpd/modules/mod_auth_basic.so into server: dlopen(/usr/local/var/www/lib/httpd/modules/mod_auth_basic.so, 10): image not found I went through commenting unfound modules out but it seems like it's missing all of them, especially useful ones like mod_auth_basic. Looking at tutorials for installing apache with homebrew, I

pg_upgrade with brew mac os 9.6.2 - 10.5

我只是一个虾纸丫 提交于 2019-12-25 00:36:07
问题 I've followed the excellent guide here to upgrade from 9.6.2 to 10.5 on mac os 10.11.6. When I get to the step 6 pg_upgrade -b /usr/local/Cellar/postgresql/9.6.2/bin/ \ -B /usr/local/Cellar/postgresql/10.5/bin/ \ -d /usr/local/Cellar/postgres.old/ \ -D /usr/local/Cellar/postgres.new/ I get this error check for "/usr/local/Cellar/postgresql/9.6.2/bin" failed: No such file or directory even though mv /usr/local/Cellar/postgresql/9.6.2 /usr/local/Cellar/postgres.old ran ok. However when I go to

MySQL 5.7 installed via brew now getting ERROR! The server quit without updating PID file (/usr/local/var/mysql/dev_box.local.pid)

只愿长相守 提交于 2019-12-24 19:32:48
问题 I had mysql version 8 earlier, due to some dependency i had to downgrade to 5.7 so installed mysql@5.7 via brew. Steps brew uninstall mysql brew install mysql@5.7 mysql.server start brew link mysql@5.7 --force Now once i have stopped the server and now i want to restart it but i am getting ERROR! The server quit without updating PID file (/usr/local/var/mysql/dev_box.local.pid). When i do mysqld --initialize I am getting [ERROR] --initialize specified but the data directory has files in it.

unrecognized command line option '-stdlib=libc++' gcc (Homebrew gcc 5.3.0) 5.3.0

百般思念 提交于 2019-12-24 18:03:32
问题 I run Mac OSX El Capitan, I have installed via Homebrew gcc version 5.3.0. I want to install pyopencl (but as I understand it doesn't matter) and when running the following command: gcc -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -DPYGPU_PACKAGE=pyopencl -DPYGPU_PYOPENCL=1 -Isrc/c_wrapper/ -I/Users/earendilllock/anaconda/include/python2.7 -c build/temp.macosx-10.5-x86_64-2.7/pyopencl._cffi.cpp -o build/temp.macosx-10.5-x86_64-2.7/build/temp.macosx-10.5-x86_64-2.7/pyopencl._cffi.o -std=c+