Tag Info

New answers tagged

1

I recommend adding the following line to your ~/.zshrc or ~/.bash_profile. export HOMEBREW_CASK_OPTS="--appdir=/Applications"


1

I created Homebrew-command-not-found just for that. It works exactly as you would expect, and supports 4800+ Homebrew formulae. We currently support Bash and Zsh, and there’s an open pull-request for Fish support. However it’s currently limited to correct spellings, e.g.: $ ghc The program 'ghc' is currently not installed. You can install it by typing: ...


1

Not sure if it will suit your needs, but check out iconv which is coming with osx. Try iconv --list to list the supported encodings.


1

FWIW, I had to actually use export PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/ to get this to work. Same command, but just the directory instead of the libffi.pc file itself.


0

It's likely you are seeing a network issue. To test that, in the window where things errored out, try the host command to make sure DNS is happy and then try a basic curl to check the server is up. host www.cmake.org curl www.cmake.org | wc -l The second command downloads the main page and counts the lines of text curl was able to retrieve. For me, I get: ...


1

Have you tried running brew update and brew updgrade before brew install homebrew/science/gmt Usually many problems with formulas may be solved by simply updating & upgrading homebrew and its formulas!


1

I tried a few of the suggestions given on this page, and the only thing that worked for me is a minor variation to jherran's answer: $ brew search inkscape homebrew/x11/inkscape $ brew tap homebrew/x11 <- Removed /inkskape $ brew install inkscape At that point, I got the response Installing inkscape from homebrew/homebrew-x11 and the installation ...


1

I was just going to comment on the accepted answer (but don't have the reputation for that yet.) As a user of Caskroom.io, I would also recommend adding: sudo chown -R admin /opt/homebrew-cask sudo chmod -R g+w /opt/homebrew-cask since cask, an extremely useful extension to homebrew, puts all its files in /opt/homebrew-cask


0

What worked for me was sudo chmod -R 777 /usr/local/mysql/ , I've had installed from brew.


0

I had the same problem and removing the following from my ~/.bash_profile fixed it. export DYLD_LIBRARY_PATH=Applications/MATLAB/MATLAB_Compiler_Runtime/v84/runtime/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v84/sys/os/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v84/bin/maci64:$DYLD_LIBRARY_PATH Now, curl -V gives curl 7.37.1 ...



Top 50 recent answers are included