homebrew

Can I specify which 'site-packages' directory MySQL Utilities should be installed in?

守給你的承諾、 提交于 2019-12-13 06:59:31
问题 I have a Homebrew installation of Python that I use as my principal (nearly exclusive) Python and need to install MySQL Utilities. But the installer places the packages in my system's site-packages directory rather than Homebrew's. Is there a way to specify which site-packages directory should hold the MySQL Utilities files? 回答1: If you're installing with pip , pip -t /what/ever thepackage will install packages in /what/ever . If you're installing with something else, you'd better specify

Trouble with brew install devil

会有一股神秘感。 提交于 2019-12-13 06:49:05
问题 RGBDSLAM install is asking for devil $ rosdep install rgbdslam ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: rgbdslam: No definition of [libdevil-dev] for OS [osx] But when I try to install devil I'm getting this: $ brew install devil Error: devil cannot be built with any available compilers. To install this formula, you may need to: brew install gcc $ brew install gcc Warning: gcc-5.3.0 already installed How can I get around this? Note

Error installing php 71 with homebrew on my mac

穿精又带淫゛_ 提交于 2019-12-13 06:11:11
问题 I have been developing with Vallet for some time now. Today i wanted to update laravel 5.4 to 5.5. Before doing so i run composer global update . Causing Vallet to stop working. Fist i tried to do the following: cd ~/.composer/ sudo chown -R $(whoami) vendor source: https://laracasts.com/discuss/channels/general-discussion/getting-valet-not-found-error I did not solve the issue. Then i decided to reinstall Vallet. Hereby i did the following: I followed this: https://github.com/laravel/valet

dylibs and frameworks in bundle app

那年仲夏 提交于 2019-12-13 02:16:43
问题 Yesterday I was reading a lot about deploying MacOSX applications, but I still have some doubts. I have been deploying Qt4 applications for MacOSX for the past few years using macdeployqt . Now, mi application uses a library that doesn't belong to the Qt framework: Poppler. I have installed poppler-qt4 using Homebrew : brew install poppler --with-qt4 --enable-xpdf-headers After using macdeployqt , I know that I have to use install_name_tool to change the absolute paths by relative paths. Some

What is the expected output of 'curl http://github.com'?

♀尐吖头ヾ 提交于 2019-12-13 00:53:26
问题 I recently installed Homebrew and ran brew doctor. It looks like everything is OK, but I get what appears to be a very common message: Warning: You have a curlrc flie If you have trouble downloading packages with Homebrew, then maybe this is the problem? If the following command doesn't work, then try removing your curlrc: curl http://github.com When I run it nothing happens: me at my-computer-name in ~ $ curl http://github.com me at my-computer-name in ~ How do I remove my curlrc file, and

Configure error in Mac OS X Lion 10.7 — Library 'crypto' is required for OpenSSL

蓝咒 提交于 2019-12-13 00:27:51
问题 Tried brew install postgres and got the following error: datadir=/usr/local/Cellar/postgresql/9.2.4/share/postgresql --docdir=/usr/local/Cellar/postgresql checking for library containing gss_init_sec_context... -lgssapi_krb5 checking for library containing com_err... none required checking for library containing krb5_sendauth... none required checking for CRYPTO_new_ex_data in -lcrypto... no configure: error: library 'crypto' is required for OpenSSL OpenSSL seems to be installed correctly (I

Error when installing homebrew with ruby

折月煮酒 提交于 2019-12-13 00:26:57
问题 Trying to install homebrew from here: $ ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" -e:1: syntax error, unexpected ']' [This script has been moved.][url] ^ 回答1: Acessing https://raw.github.com/gist/323731 in your browser, you see [This script has been moved.][url] [url]:https://github.com/mxcl/homebrew/blob/master/Library/Contributions/install_homebrew.rb But it doesn't seem to work. So use $ ruby -e "$(curl -fsSL raw.github.com/mxcl/homebrew/go)" instead. 来源: https:/

Struggling to compile gdal with hdf4 support

冷暖自知 提交于 2019-12-13 00:10:04
问题 I am unable to compile gdal with hdf4 support using bash on a mac osx el capitan version 10.11.6. I began with the homebrew approach to building gdal described on the osgeo website. Unfortunately, hdf4 is not by default supported by gdal. The hdf format page includes a great description of the hdf4 data structure but fails to help getting support for gdal. I've installed the szip, zlib, and jpeg libraries discussed here, and reviewed the struggles described by /u/dschneiderch here. The github

Git is not using the first editor in my $PATH

无人久伴 提交于 2019-12-12 19:50:24
问题 I am using OS X 10.8, and I used brew to install a more recent version of emacs than the one shipped with OS X. The newer emacs binary is installed in /usr/local/bin (24.2.1), and the old "shipped-with-osx" one in /usr/bin (22.1.1). I updated my $PATH env variable by prepending /usr/local/bin to it. It works fine in my shell (ie. typing emacs runs the 24.2.1 version), but when git opens the editor, the emacs version is 22.1.1. Isn't git supposed to use $PATH to find the editor I want to use ?

How to install Postgis to a Keg installation of Postgres@9.5 using Homebrew?

流过昼夜 提交于 2019-12-12 18:19:17
问题 I have installed Postgresql@9.5 to my OSX El Capitan Machine using Homebrew 1.2. Unfortunately, upon installing Postgis, and performing CREATE EXTENSION postgis; It returns, ERROR: could not open extension control file "/usr/local/Cellar/postgresql@9.5/9.5.6/share/postgresql@9.5/extension/postgis.control": No such file or directory I tried, uninstalling all postgresql and install only the 9.5 version, and then installing postgis but to no avail. I think I got a similar question but this one